blob: 940db4306939c77abac98bca2178bc9e721b29bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
|
<ExtensionModel>
<!-- Extension Points -->
<ExtensionPoint path = "/MonoDevelop/CSharp/Completion/ContextHandler">
<ExtensionNode name="Class"/>
</ExtensionPoint>
<!-- Extensions -->
<Extension path = "/MonoDevelop/Ide/Commands">
<Category _name = "Edit" id="Edit">
<Command id = "MonoDevelop.CodeGeneration.CodeGenerationCommands.ShowCodeGenerationWindow"
_label = "Show Code _Generation"
shortcut = "Alt|Insert"
macShortcut = "Meta|I" />
</Category>
<Category _name = "Code Navigation" id = "CodeNavigation">
<Command id = "MonoDevelop.CSharp.Refactoring.FindProjectReferenceUsages"
defaultHandler = "MonoDevelop.CSharp.Refactoring.FindProjectReferenceUsagesHandler"
_label = "_Find Reference Usages"
macShortcut = "Meta+F12" />
<Command id = "MonoDevelop.CSharp.Navigation.FindExtensionMethods"
defaultHandler = "MonoDevelop.CSharp.Navigation.FindExtensionMethodsHandler"
_label = "Extension Methods"
_displayName = "Find Extension Methods"/>
<Command id = "MonoDevelop.Refactoring.Navigation.FindBaseSymbols"
defaultHandler = "MonoDevelop.CSharp.Navigation.FindBaseSymbolsHandler"
_label = "Base Symbols"
_displayName = "Find Base Symbols"/>
<Command id = "MonoDevelop.Refactoring.Navigation.FindDerivedSymbols"
defaultHandler = "MonoDevelop.CSharp.Refactoring.FindDerivedSymbolsHandler"
_label = "Derived Symbols"
_displayName = "Find Derived Symbols"/>
<Command id = "MonoDevelop.CSharp.Navigation.FindMemberOverloads"
defaultHandler = "MonoDevelop.CSharp.Navigation.FindMemberOverloadsHandler"
_label = "Member Overloads"
_displayName = "Find Member Overloads"/>
<Command id = "MonoDevelop.CSharp.Navigation.FindImplementingMembers"
defaultHandler = "MonoDevelop.CSharp.Navigation.FindImplementingMembersHandler"
_label = "Implementing Members"
_displayName = "Find Implementing Members"/>
</Category>
</Extension>
<Extension path = "/MonoDevelop/Ide/Commands/Refactoring">
<!-- <Command id = "MonoDevelop.Refactoring.RefactoryCommands.Resolve"
defaultHandler = "MonoDevelop.CSharp.Refactoring.ResolveCommandHandler"
type="array"
_label = "Resolve"/> -->
<Command id = "MonoDevelop.CSharp.Refactoring.ExtractMethodCommand"
defaultHandler = "MonoDevelop.CSharp.Refactoring.ExtractMethodCommandHandler"
_label = "Extract Method"
_description = "Extracts a method"
/>
<Command id = "MonoDevelop.Refactoring.RefactoryCommands.CurrentRefactoryOperations"
defaultHandler = "MonoDevelop.CSharp.Refactoring.CurrentRefactoryOperationsHandler"
type="array"
_label = "Refactory Operations" />
<Command id = "MonoDevelop.CSharp.Refactoring.Commands.SortAndRemoveImports"
defaultHandler = "MonoDevelop.CSharp.Refactoring.RemoveAndSortUsingsHandler"
_label = "R_emove and Sort Usings"
_displayName = "Remove Unused and Sort (Usings)"
/>
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/MSBuildItemTypes">
<DotNetProjectType
id="MonoDevelop.CSharp.Project.CSharpProject"
language="C#"
extension="csproj"
guid="{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
type="MonoDevelop.CSharp.Project.CSharpProject"
/>
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/ProjectModelExtensions">
<Condition id="MSBuildTargetIsAvailable" target="$(MSBuildExtensionsPath)\Microsoft\Portable\v4.0\Microsoft.Portable.CSharp.targets">
<ProjectFlavor guid="{786C830F-07A1-408B-BD7F-6EE04809D6DB}" type="MonoDevelop.CSharp.Project.PortableCSharpProjectFlavor" language="C#" alias="C#PortableLibrary"/>
</Condition>
</Extension>
<Extension path = "/MonoDevelop/Ide/FileTemplates">
<FileTemplate id = "CSharpEmptyFile" resource = "EmptyCSharpFile.xft.xml"/>
<FileTemplate id = "CSharpAssemblyInfo" resource = "AssemblyInfo.xft.xml"/>
</Extension>
<Extension path = "/MonoDevelop/Ide/ProjectTemplates">
<ProjectTemplate id = "MonoDevelop.CSharp.ConsoleProject" resource = "ConsoleProject.xpt.xml"/>
<ProjectTemplate id = "MonoDevelop.CSharp.EmptyProject" resource = "EmptyProject.xpt.xml"/>
<ProjectTemplate id = "MonoDevelop.CSharp.GtkSharp2Project" resource = "GtkSharp2Project.xpt.xml"/>
<ProjectTemplate id = "MonoDevelop.CSharp.Library" resource = "Library.xpt.xml"/>
<ProjectTemplate id = "MonoDevelop.CSharp.SharedProject" resource = "SharedAssetsProject.xpt.xml"/>
<Condition id="MSBuildTargetIsAvailable" target="$(MSBuildExtensionsPath)\Microsoft\Portable\v4.0\Microsoft.Portable.CSharp.targets">
<ProjectTemplate id = "MonoDevelop.CSharp.PortableLibrary" resource = "PortableLibrary.xpt.xml" />
</Condition>
</Extension>
<Extension path = "/MonoDevelop/Ide/FileFilters">
<FileFilter id = "CSharp"
insertbefore = "Assemblies"
_label = "C# Files"
extensions = "*.cs"/>
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/Gui/ItemOptionPanels/Build/General">
<Condition id="ProjectTypeId" value="C#">
<Panel id = "CSharpCompilerOptionsPanel"
_label = "C#"
class = "MonoDevelop.CSharp.Project.CompilerOptionsPanel"/>
</Condition>
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/Gui/ItemOptionPanels/Build/Compiler">
<Condition id="ProjectTypeId" value="C#">
<Panel id = "CSharpCodeGenerationPanel"
_label = "Compiler"
class = "MonoDevelop.CSharp.Project.CodeGenerationPanel"/>
</Condition>
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/LanguageBindings">
<LanguageBinding id = "C#"
extensions = ".cs"
singleLineCommentTag = "//"
blockCommentStartTag = "/*"
blockCommentEndTag = "*/"
codeDomType = "MonoDevelop.CSharp.CSharpEnhancedCodeProvider" />
</Extension>
<Extension path = "/MonoDevelop/Ide/ReferenceFinder">
<ReferenceFinder supportedmimetypes = "text/x-csharp"
class = "MonoDevelop.CSharp.Refactoring.CSharpReferenceFinder" />
</Extension>
<Extension path = "/MonoDevelop/Ide/TextEditorExtensions">
<!-- indent engine must be before the completion text editor engine,
otherwise stuff like
int Foo {
get;private set';'
will end up as
int Foo {
get;
privaet;
-->
<Class fileExtensions = ".cs" class = "MonoDevelop.CSharp.Formatting.CSharpTextEditorIndentation" />
<Class fileExtensions = ".cs" class = "MonoDevelop.CSharp.Completion.CSharpCompletionTextEditorExtension" />
<Class fileExtensions = ".cs" class = "MonoDevelop.CSharp.Highlighting.HighlightUsagesExtension" />
<Class fileExtensions = ".cs" class = "MonoDevelop.CSharp.PathedDocumentTextEditorExtension" />
<Class fileExtensions = ".cs" class = "MonoDevelop.CSharp.UnitTestTextEditorExtension" />
<Class fileExtensions = ".cs" class = "MonoDevelop.CSharp.ClassOutline.CSharpOutlineTextEditorExtension" />
<Class fileExtensions = ".cs" class = "MonoDevelop.CSharp.CSharpNavigationTextEditorExtension" />
<Class fileExtensions = ".json" class = "MonoDevelop.JSon.JSonTextEditorExtension" />
<Class class = "MonoDevelop.CSharp.Refactoring.CSharpFeaturesTextEditorExtension" />
</Extension>
<Extension path = "/MonoDevelop/Core/StockIcons">
<StockIcon stockid = "md-csharp-file" icon = "md-file-source" size="Menu" />
<StockIcon stockid = "md-csharp-project" icon = "md-project" size="Menu"/>
</Extension>
<Extension path = "/MonoDevelop/Core/MimeTypes">
<MimeType id="text/x-csharp" _description="C# source code" icon="md-csharp-file" isText="true" roslynName="C#" contentType="csharp">
<File pattern="*.cs" />
</MimeType>
<MimeType id="application/x-csproject" _description="C# project file" baseType="application/x-msbuild">
<File pattern="*.csproj" />
</MimeType>
</Extension>
<Extension path = "/MonoDevelop/Ide/CodeFormatters">
<Formatter mimeType="text/x-csharp" class="MonoDevelop.CSharp.Formatting.CSharpFormatter" />
</Extension>
<Extension path = "/MonoDevelop/TypeSystem/AmbienceTooltipProviders">
<Provider mimeType="text/x-csharp" class = "MonoDevelop.CSharp.CSharpAmbience" />
</Extension>
<Extension path = "/MonoDevelop/TypeSystem/Parser">
<Parser class="MonoDevelop.CSharp.Parser.TypeSystemParser" mimeType = "text/x-csharp" />
</Extension>
<Extension path = "/MonoDevelop/TypeSystem/FoldingParser">
<Parser class = "MonoDevelop.CSharp.Parser.CSharpFoldingParser" mimeType="text/x-csharp" />
</Extension>
<Extension path = "/MonoDevelop/TypeSystem/CodeGenerators">
<Generator class="MonoDevelop.CSharp.Refactoring.CSharpCodeGenerator" mimeType = "text/x-csharp" />
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/PolicySets/Mono" >
<Policies resource="MonoDevelopCSharpPolicy.xml" />
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/PolicySets/MonoDefault" >
<Policies resource="MonoCSharpPolicy.xml" />
<Policies resource="MonoTextStylePolicy.xml" />
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/PolicySets" >
<PolicySet id="KR" _name="K&R style" allowDiffSerialize="false">
<Policies resource="KRCSharpPolicy.xml" />
<Policies resource="InvariantTextStylePolicy.xml" />
</PolicySet>
<PolicySet id="1TBS" _name="SharpDevelop style (1TBS)" allowDiffSerialize="false">
<Policies resource="KRCSharpPolicy.xml" />
<Policies resource="InvariantTextStylePolicy.xml" />
</PolicySet>
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/PolicySets/VisualStudio" >
<Policies resource="AllmanCSharpPolicy.xml" />
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/Gui/MimeTypePolicyPanels">
<Panel id = "CSharpFormatting" _label = "C# Format" mimeType="text/x-csharp" class = "MonoDevelop.CSharp.Formatting.CSharpFormattingPolicyPanel" />
</Extension>
<!--
<Extension path = "/MonoDevelop/Refactoring/CodeActions">
<Action mimeType="text/x-csharp"
_title = "Move type to another file"
_description = "Moves current type to another file that matches the name of the type."
class = "MonoDevelop.CSharp.Refactoring.CodeActions.MoveTypeToFile" />
<Action mimeType="text/x-csharp"
_title = "Convert to enum"
_description = "Converts constant fields to enumeration"
class = "MonoDevelop.CSharp.Refactoring.CodeActions.ConvertToEnumAction" />
</Extension>
<Extension path = "/MonoDevelop/Refactoring/CodeIssues">
<CodeIssue mimeType="text/x-csharp" severity = "Error" class="MonoDevelop.CSharp.Refactoring.CodeIssues.MonoTODOIssue"/>
</Extension> -->
<Extension path = "/MonoDevelop/Ide/TextEditorResolver">
<Resolver class = "MonoDevelop.CSharp.Resolver.TextEditorResolverProvider" mimeType="text/x-csharp" />
</Extension>
<Extension path = "/MonoDevelop/Ide/Commands/TextEditor">
<Command id = "MonoDevelop.CSharp.Highlighting.MoveToUsagesCommand.PrevUsage"
defaultHandler = "MonoDevelop.CSharp.Highlighting.MoveToPrevUsageHandler"
shortcut = "Ctrl|Shift|Up"
macShortcut = "Control+Alt+Meta+Up"
_label = "_Move to prev usage"/>
<Command id = "MonoDevelop.CSharp.Highlighting.MoveToUsagesCommand.NextUsage"
defaultHandler = "MonoDevelop.CSharp.Highlighting.MoveToNextUsageHandler"
shortcut = "Ctrl|Shift|Down"
macShortcut = "Control+Alt+Meta+Down"
_label = "_Move to next usage"/>
</Extension>
<Extension path = "/MonoDevelop/Refactoring/CodeGenerators">
<Class class = "MonoDevelop.CodeGeneration.CreateConstructorGenerator" />
<Class class = "MonoDevelop.CodeGeneration.ReadonlyPropertyGenerator" />
<Class class = "MonoDevelop.CodeGeneration.PartialGenerator" />
<Class class = "MonoDevelop.CodeGeneration.OverrideMembersGenerator" />
<Class class = "MonoDevelop.CodeGeneration.ToStringGenerator" />
<Class class = "MonoDevelop.CodeGeneration.RaiseEventMethodGenerator" />
<!-- <Class class = "MonoDevelop.CodeGeneration.EqualityMembersGenerator" /> -->
<Class class = "MonoDevelop.CodeGeneration.WriteLineGenerator" />
</Extension>
<Extension path = "/MonoDevelop/Ide/Editor/TooltipProviders">
<Provider id="CSharp" class="MonoDevelop.SourceEditor.LanguageItemTooltipProvider" mimeType="text/x-csharp" />
</Extension>
<Extension path = "/MonoDevelop/Ide/CompletionCharacters">
<Complete language="C#" commitOnSpace="True" commitChars="{}[]().,:;+-*/%&|^!~=<>?@#'"\"/>
</Extension>
<Extension path = "/MonoDevelop/SourceEditor2/ContextMenu/Editor">
<Condition id="FileType" mimeTypes="text/x-csharp">
<ItemSet id = "MonoDevelop.Refactoring.RefactoryCommands.QuickFixMenu" _label = "Quick Fix" autohide = "true" insertafter="MonoDevelop.SourceEditor.SourceEditorCommands.MarkerOperations" insertbefore="MonoDevelop.Debugger.DebugCommands.ExpressionEvaluator">
<CommandItem id = "MonoDevelop.Refactoring.RefactoryCommands.QuickFixMenu" />
</ItemSet>
<CommandItem id = "MonoDevelop.Refactoring.RefactoryCommands.CurrentRefactoryOperations" />
<ItemSet id = "Navigate" _label = "Navigate">
<CommandItem id = "MonoDevelop.Refactoring.RefactoryCommands.FindAllReferences"/>
<CommandItem id = "MonoDevelop.Refactoring.Navigation.FindBaseSymbols"/>
<CommandItem id = "MonoDevelop.Refactoring.Navigation.FindDerivedSymbols"/>
<SeparatorItem id = "Separator1" />
<CommandItem id = "MonoDevelop.CSharp.Navigation.FindExtensionMethods"/>
<CommandItem id = "MonoDevelop.CSharp.Navigation.FindMemberOverloads"/>
<CommandItem id = "MonoDevelop.CSharp.Navigation.FindImplementingMembers"/>
</ItemSet>
</Condition>
</Extension>
<Extension path = "/MonoDevelop/Ide/BraceMatcher">
<Matcher class="MonoDevelop.CSharp.CSharpBraceMatcher" mimeType="text/x-csharp"/>
</Extension>
<Extension path = "/MonoDevelop/Ide/ContextMenu/ProjectPad">
<Condition id="ItemType" value="ProjectReference|Reference">
<CommandItem id = "MonoDevelop.CSharp.Refactoring.FindProjectReferenceUsages" />
</Condition>
</Extension>
<Extension path = "/MonoDevelop/Refactoring/FindReferencesProvider">
<Class class="MonoDevelop.CSharp.Refactoring.CSharpFindReferencesProvider" />
</Extension>
<Extension path = "/MonoDevelop/Refactoring/FindReferenceUsagesProvider">
<Class class="MonoDevelop.CSharp.Refactoring.CSharpFindReferenceUsagesProvider" />
</Extension>
<Extension path = "/MonoDevelop/Refactoring/JumpToDeclarationHandler">
<Class class="MonoDevelop.CSharp.Refactoring.CSharpJumpToDeclarationHandler" />
</Extension>
<Extension path = "/MonoDevelop/UnitTesting/NUnitSourceCodeLocationFinder">
<Class class="MonoDevelop.CSharp.UnitTests.CSharpNUnitSourceCodeLocationFinder" />
</Extension>
<Extension path="/MonoDevelop/Ide/TypeService/MefHostServices">
<Assembly file="MonoDevelop.CSharpBinding.dll"/>
</Extension>
<Extension path="/MonoDevelop/Ide/TypeService/OptionProviders">
<Class class="MonoDevelop.CSharp.OptionProvider.EditorConfigDocumentOptionsProviderFactory"/>
</Extension>
<Extension path = "/MonoDevelop/Ide/GlobalOptionsDialog/TextEditor/Behavior">
<Section id="CSharpOnTheFlyFormattingPanel" insertbefore="Formatting" _label="C#" fill="true" class="MonoDevelop.SourceEditor.OptionPanels.OnTheFlyFormattingPanel" icon="md-prefs-code-formatting" />
</Extension>
<Extension path = "/MonoDevelop/Ide/GlobalOptionsDialog/TextEditor/Analysis/C#">
<Panel id="CodeStylePanel" _label="Code Style" fill="true" class="MonoDevelop.CSharp.OptionProvider.CodeStylePage" grouping="Tab" icon="md-prefs-code-rules" insertbefore="CodeActions" />
</Extension>
<Extension path = "/MonoDevelop/TextEditor/CommandMapping">
<Map id="MonoDevelop.CSharp.Refactoring.Commands.SortAndRemoveImports" argsType="@MonoDevelop.CSharp.Refactoring.CommandArgsFactories.CreateSortAndRemoveUnnecessaryImportsCommandArgs" />
</Extension>
</ExtensionModel>
|