Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CSharpBinding.addin.xml « CSharpBinding « addins « src « main - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3b6212182007045f4b94373852cc43051dd81c83 (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
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
<Addin id          = "CSharpBinding"
       namespace   = "MonoDevelop"
       name        = "CSharp Language Binding"
       author      = "Todd Berman"
       copyright   = "MIT X11"
       url         = "http://www.monodevelop.com/"
       description = "CSharp Language Binding"
       category    = "Language bindings"
       version     = "2.5.93">
	
	<Dependencies>
		<Addin id="Core" version="2.5.93"/>
		<Addin id="Ide" version="2.5.93"/>
		<Addin id="SourceEditor2" version="2.5.93"/>
		<Addin id="Refactoring" version="2.5.93"/>
	</Dependencies>
	
	<Extension path = "/MonoDevelop/ProjectModel/MSBuildItemTypes">
		<DotNetProject 
			language="C#" 
			extension="csproj" 
			guid="{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
			import="$(MSBuildBinPath)\Microsoft.CSharp.targets"
			resourceHandler="MonoDevelop.CSharp.Project.CSharpResourceIdBuilder"
			/>
	</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 = "CSharpConsoleProject" resource = "ConsoleProject.xpt.xml"/>
		<ProjectTemplate id = "CSharpEmptyProject" resource = "EmptyProject.xpt.xml"/>
		<ProjectTemplate id = "CSharpGtkSharp2Project" resource = "GtkSharp2Project.xpt.xml"/>
		<ProjectTemplate id = "CSharpLibrary" resource = "Library.xpt.xml"/>
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/FileFilters">
		<FileFilter id = "CSharp"
		            insertbefore="AllFiles"
		            _label = "CSharp Files"
			    extensions = "*.cs"/>
		<FileFilter id = "Assemblies"
		            insertbefore="AllFiles"
		            _label = "Assemblies"
		            extensions = "*.exe,*.dll"/>
			    
		<FileFilter id = "Html"
		            insertbefore="AllFiles"
		            _label = "Web Files"
		            extensions = "*.htm,*.html,*.aspx,*.ascx,*.asp"/>
			    
		<FileFilter id = "Xml"
		            insertbefore="AllFiles"
		            _label = "Xml Files"
		            extensions = "*.xml"/>
		<FileFilter id = "Resources"
		            insertbefore="AllFiles"
		            _label = "Resource Files"
		            extensions = "*.resources,*.resx"/>
	</Extension>

	<Extension path = "/MonoDevelop/ProjectModel/Gui/ItemOptionPanels/Build/General">
		<Condition id="ActiveLanguage" value="C#">
			<Panel id = "CSharpCompilerOptionsPanel"
			             _label = "C#"
			             class = "MonoDevelop.CSharp.Project.CompilerOptionsPanel"/>
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/ProjectModel/Gui/ItemOptionPanels/Build/Compiler">
		<Condition id="ActiveLanguage" value="C#">
			<Panel id = "CSharpCodeGenerationPanel"
			             _label = "Compiler"
			             class = "MonoDevelop.CSharp.Project.CodeGenerationPanel"/>
		</Condition>
	</Extension>
	
	<Extension path = "/MonoDevelop/ProjectModel/LanguageBindings">
		<LanguageBinding id    = "CSharp"
		                 supportedextensions = ".cs"
		                 class = "MonoDevelop.CSharp.CSharpLanguageBinding" />
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/ReferenceFinder">
		<ReferenceFinder supportedmimetypes = "text/x-csharp"
		                 class = "MonoDevelop.CSharp.Refactoring.CSharpReferenceFinder" />
	</Extension>
	
	<Extension path = "/MonoDevelop/ProjectModel/SerializableClasses">
		<DataType class = "MonoDevelop.CSharp.Project.CSharpCompilerParameters" />
		<DataType class = "MonoDevelop.CSharp.Project.CSharpProjectParameters" />
	</Extension>

	<Extension path = "/MonoDevelop/Ide/TextEditorExtensions">
		<Class fileExtensions = ".cs" class = "MonoDevelop.CSharp.Completion.CSharpTextEditorCompletion" />
		<Class fileExtensions = ".cs" class = "MonoDevelop.CSharp.Formatting.CSharpTextEditorIndentation" />
		<Class fileExtensions = ".cs" class = "MonoDevelop.CSharp.Highlighting.HighlightUsagesExtension" />
	</Extension>
	
	<Extension path = "/MonoDevelop/ProjectModel/MD1SerializationMaps">
		<SerializationMap resource="md1format.xml" />
	</Extension>
	
	<Extension path = "/MonoDevelop/ProjectModel/DomParser">
<!--		<Parser class = "MonoDevelop.CSharp.Parser.NRefactoryParser" fileExtensions=".cs" /> -->
		<Parser class = "MonoDevelop.CSharp.Parser.McsParser" fileExtensions=".cs" />
	</Extension>
	
	<Extension path = "/MonoDevelop/ProjectModel/Ambiences">
		<Class id = "C#" class = "MonoDevelop.CSharp.CSharpAmbience" />
	</Extension>
	
	<Extension path = "/MonoDevelop/Core/StockIcons">
		<StockIcon stockid = "md-csharp-file" resource = "C#.FileIcon" size="Menu" />
		<StockIcon stockid = "md-csharp-project" resource = "csharp-project-16.png" size="Menu"/>
	</Extension>
	
	<Extension path = "/MonoDevelop/Core/MimeTypes">
		<MimeType id="text/x-csharp" _description="C# source code" icon="md-csharp-file" isText="true">
			<File pattern="*.cs" />
		</MimeType>
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/CodeFormatters">
		<Formatter mimeType="text/x-csharp" class="MonoDevelop.CSharp.Formatting.CSharpFormatter" />
	</Extension>
	
	<Extension path = "/MonoDevelop/SourceEditor2/CustomModes">
		<SyntaxMode mimeTypes="text/x-csharp" class="MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode"/>
	</Extension>
	
	<Extension path = "/MonoDevelop/ProjectModel/PolicySets/Mono" >
		<Policies resource="MonoCSharpPolicy.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/ASTProvider">
		<Class class = "MonoDevelop.CSharp.Refactoring.CSharpNRefactoryASTProvider" />
	</Extension>
	<!--
	<Extension path = "/MonoDevelop/Refactoring/ContextActions">
		<Action mimeType="text/x-csharp"
			_title = "Create event invocator"
			_description = "Creates a standard OnXXX event method."
			class = "MonoDevelop.CSharp.ContextAction.CreateEventInvocator" />
		<Action mimeType="text/x-csharp"
			_title = "Generate getter"
			_description = "Generates a getter for a field."
			class = "MonoDevelop.CSharp.ContextAction.GenerateGetter" />
		<Action mimeType="text/x-csharp"
			_title = "Create local variable"
			_description = "Creates a local variable for a undefined variable."
			class = "MonoDevelop.CSharp.ContextAction.CreateLocalVariable" />
		<Action mimeType="text/x-csharp"
			_title = "Create field"
			_description = "Creates a field for a undefined variable."
			class = "MonoDevelop.CSharp.ContextAction.CreateField" />
		<Action mimeType="text/x-csharp"
			_title = "Create property"
			_description = "Creates a property for a undefined variable."
			class = "MonoDevelop.CSharp.ContextAction.CreateProperty" />
		
		<Action mimeType="text/x-csharp"
			_title = "Add another accessor"
			_description = "Adds second accessor to a property."
			class = "MonoDevelop.CSharp.ContextAction.AddAnotherAccessor" />
		<Action mimeType="text/x-csharp"
			_title = "Check if parameter is null"
			_description = "Checks function parameter is not null."
			class = "MonoDevelop.CSharp.ContextAction.CheckIfParameterIsNull" />
		<Action mimeType="text/x-csharp"
			_title = "Convert dec to hex."
			_description = "Convert dec to hex."
			class = "MonoDevelop.CSharp.ContextAction.ConvertDecToHex" />
		<Action mimeType="text/x-csharp"
			_title = "Convert hex to dec."
			_description = "Convert hex to dec."
			class = "MonoDevelop.CSharp.ContextAction.ConvertHexToDec" />
		<Action mimeType="text/x-csharp"
			_title = "Convert 'foreach' loop to 'for'"
			_description = "Works on 'foreach' loops that allow direct access to its elements."
			class = "MonoDevelop.CSharp.ContextAction.ConvertForeachToFor" />
		<Action mimeType="text/x-csharp"
			_title = "Generate switch labels"
			_description = "Creates switch lables for enumerations."
			class = "MonoDevelop.CSharp.ContextAction.GenerateSwitchLabels" />
		<Action mimeType="text/x-csharp"
			_title = "Swaps left and right arguments."
			_description = "Swaps left and right arguments."
			class = "MonoDevelop.CSharp.ContextAction.FlipOperatorArguments" />
		<Action mimeType="text/x-csharp"
			_title = "Use string.Empty"
			_description = 'Replaces "" with string.Empty'
			class = "MonoDevelop.CSharp.ContextAction.ReplaceEmptyString" />
			
			
		<Action mimeType="text/x-csharp"
			_title = "Use 'var' keyword"
			_description = "Converts local variable declaration to be implicit typed."
			class = "MonoDevelop.CSharp.ContextAction.UseVarKeyword" />
		<Action mimeType="text/x-csharp"
			_title = "Use explicit type"
			_description = "Converts local variable declaration to be explicit typed."
			class = "MonoDevelop.CSharp.ContextAction.UseExplicitType" />
		<Action mimeType="text/x-csharp"
			_title = "Invert if"
			_description = "Inverts an 'if ... else' expression."
			class = "MonoDevelop.CSharp.ContextAction.InvertIf" />
		<Action mimeType="text/x-csharp"
			_title = "Create backing store for auto property"
			_description = "Creates a backing field for an auto property."
			class = "MonoDevelop.CSharp.ContextAction.CreateBackingStore" />
		<Action mimeType="text/x-csharp"
			_title = "Remove backing store for property"
			_description = "Removes the backing store of a property and creates an auto property."
			class = "MonoDevelop.CSharp.ContextAction.RemoveBackingStore" />
		<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.ContextAction.MoveTypeToFile" />
		<Action mimeType="text/x-csharp"
			_title = "Split string literal"
			_description = "Splits string literal into two."
			class = "MonoDevelop.CSharp.ContextAction.SplitString" />
		<Action mimeType="text/x-csharp"
			_title = "Introduce format item"
			_description = "Creates a string.format call with the selection as parameter."
			class = "MonoDevelop.CSharp.ContextAction.IntroduceFormatItem" />
		<Action mimeType="text/x-csharp"
			_title = "Split local variable declaration and assignment"
			_description = "Splits local variable declaration and assignment."
			class = "MonoDevelop.CSharp.ContextAction.SplitDeclarationAndAssignment" />
		<Action mimeType="text/x-csharp"
			_title = "Remove braces"
			_description = "Removes redundant braces around a statement."
			class = "MonoDevelop.CSharp.ContextAction.RemoveBraces" />
		<Action mimeType="text/x-csharp"
			_title = "Insert anonymous method signature"
			_description = "Inserts a signature to parameterless anonymous methods."
			class = "MonoDevelop.CSharp.ContextAction.InsertAnonymousMethodSignature" /> 
	</Extension>
	
	<Extension path = "/MonoDevelop/Refactoring/Inspectors">
		<Inspector mimeType="text/x-csharp"
			_title = "'?:' expression can be converted to '??' expression"
			_description = "'?:' expression can be converted to '??' expression."
			severity = "Suggestion"
			class = "MonoDevelop.CSharp.Inspection.ConditionalToNullCoalescingInspector" />
		<Inspector mimeType="text/x-csharp"
			_title = "Remove unused usings"
			_description = "Removes used declarations that are not required."
			severity = "Warning"
			class = "MonoDevelop.CSharp.Inspection.UnusedUsingInspector" />
		<Inspector mimeType="text/x-csharp"
			_title = "Show NotImplementedException"
			_description = "Shows NotImplementedException throws in the quick task bar."
			severity = "Suggestion"
			class = "MonoDevelop.CSharp.Inspection.NotImplementedExceptionInspector" />
		<Inspector mimeType="text/x-csharp"
			_title = "Use string.IsNullOrEmpty"
			_description = "Uses shorter string.IsNullOrEmpty call instead of a longer condition."
			severity = "Suggestion"
			class = "MonoDevelop.CSharp.Inspection.StringIsNullOrEmptyInspector" />
			
		<Inspector mimeType="text/x-csharp"
			_title = "Use implicitly typed local variable decaration"
			_description = "Use implicitly typed local variable decaration"
			severity = "Suggestion"
			class = "MonoDevelop.CSharp.Inspection.UseVarKeywordInspector" />
	</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 = "Meta|Shift|Up"
		         _label = "_Move to prev usage"/>
		<Command id = "MonoDevelop.CSharp.Highlighting.MoveToUsagesCommand.NextUsage"
		         defaultHandler = "MonoDevelop.CSharp.Highlighting.MoveToNextUsageHandler"
		         shortcut = "Ctrl|Shift|Down"
		         macShortcut = "Meta|Shift|Down"
		         _label = "_Move to next usage"/>
		         
		<Command id = "MonoDevelop.CSharp.ExpandCommands.ExpandSelection"
		         defaultHandler = "MonoDevelop.CSharp.ExpandSelectionHandler"
		         shortcut = "Alt|Shift|Up"
		         macShortcut = "Alt|Shift|Up"
		         _label = "_Expand selection"/>
		         
		<Command id = "MonoDevelop.CSharp.ExpandCommands.ShrinkSelection"
		         defaultHandler = "MonoDevelop.CSharp.ShrinkSelectionHandler"
		         shortcut = "Alt|Shift|Down"
		         macShortcut = "Alt|Shift|Down"
		         _label = "_Expand selection"/>
	</Extension>
	
	<Extension path = "/MonoDevelop/ProjectModel/CodeGenerators">
		<Generator class="MonoDevelop.CSharp.Refactoring.CSharpCodeGenerator" mimeType = "text/x-csharp" />
	</Extension>
	
	<Extension path = "/MonoDevelop/Refactoring/Refactorings">
		<Class id="CreateMethod" class = "MonoDevelop.CSharp.Refactoring.CreateMethod.CreateMethodCodeGenerator" />
		<Class id="ExtractMethod" class = "MonoDevelop.CSharp.Refactoring.ExtractMethod.ExtractMethodRefactoring" />
		<Class id="DeclareLocal" class = "MonoDevelop.CSharp.Refactoring.DeclareLocal.DeclareLocalCodeGenerator" />
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/Commands/Refactoring">
		<Command id = "MonoDevelop.Refactoring.RefactoryCommands.CreateMethod"
				defaultHandler = "MonoDevelop.CSharp.Refactoring.CreateMethod.CreateMethodHandler"
				_label = "Create Method"/>
		<Command id = "MonoDevelop.Refactoring.RefactoryCommands.ExtractMethod"
				defaultHandler = "MonoDevelop.CSharp.Refactoring.ExtractMethod.ExtractMethodHandler"
				_label = "Extract Method"
				shortcut = "Control|Alt|M"/>
		<Command id = "MonoDevelop.Refactoring.RefactoryCommands.DeclareLocal"
				defaultHandler = "MonoDevelop.CSharp.Refactoring.DeclareLocal.DeclareLocalHandler"
				_label = "_Declare Local" 
				shortcut = "Control+dead_circumflex"/> 
	</Extension>
<!--
	<Extension path = "/MonoDevelop/AnalysisCore/Rules">
		<Rule _name="C# Code Analysis" input="Document" 
			func="MonoDevelop.CSharp.Inspection.CodeAnalysis.Check" />
	</Extension>-->
	
	<Module>
	    <Runtime>
	        <Import assembly="MonoDevelop.CSharpBinding.Autotools.dll"/>
	    </Runtime>
		<Dependencies>
			<Addin id="Autotools" version="2.5.93"/>
		</Dependencies>
		<Extension path = "/MonoDevelop/Autotools/SimpleSetups">
			<Class class="CSharpBinding.Autotools.CSharpAutotoolsSetup" />
		</Extension>
	</Module>
	
	<Module>
		<Runtime>
			<Import assembly="MonoDevelop.CSharpBinding.AspNet.dll"/>
		</Runtime>
		<Dependencies>
			<Addin id="AspNet" version="2.5.93"/>
		</Dependencies>
		<Extension path = "/MonoDevelop/Asp/CompletionBuilders">
			<Class class = "MonoDevelop.CSharp.Completion.AspLanguageBuilder" />
		</Extension>
		<Extension path = "/MonoDevelop/Ide/ReferenceFinder">
			<ReferenceFinder supportedmimetypes = "application/x-aspx,application/x-ascx,application/x-asax,application/x-ashx,application/x-asmx,application/x-asix"
			                 class = "MonoDevelop.CSharp.Refactoring.ASPNetReferenceFinder" />
		</Extension>
	</Module>
</Addin>