blob: 3d2f85070c981f01acf82f33020a3c6ad1782ba3 (
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
|
<Addin
id = "Refactoring"
namespace = "MonoDevelop"
name = "Refactoring Support"
author = "Mike Krüger"
copyright = "X11"
url = "http://www.monodevelop.com/"
description = "Provides refactoring support to MonoDevelop"
category = "IDE extensions"
version = "3.0.3">
<Runtime>
<Import assembly = "MonoDevelop.Refactoring.dll"/>
</Runtime>
<Dependencies>
<Addin id="Core" version="3.0.3"/>
<Addin id="Ide" version="3.0.3"/>
<Addin id="DesignerSupport" version="3.0.3"/>
<Addin id="SourceEditor2" version="3.0.3"/>
</Dependencies>
<!-- Extension Points -->
<ExtensionPoint path = "/MonoDevelop/Refactoring/Refactorings" name = "Refactorings">
<ExtensionNode name="Class"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/Refactoring/CodeGenerators" name = "Code Generators">
<ExtensionNode name="Class"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/Refactoring/ASTProvider" name = "ASTProviders">
<ExtensionNode name="Class"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/Refactoring/CodeActions" name = "CodeAction">
<ExtensionNode name="Action" type ="MonoDevelop.CodeActions.CodeActionAddinNode"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/Refactoring/CodeActionSource" name = "CodeActionSource">
<ExtensionNode name="Source"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/Refactoring/CodeIssues" name = "CodeIssue">
<ExtensionNode name="CodeIssue" type ="MonoDevelop.CodeIssues.CodeIssueAddinNode"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/Refactoring/CodeIssueSource" name = "CodeIssueSource">
<ExtensionNode name="Source"/>
</ExtensionPoint>
<!-- Extensions -->
<Extension path = "/MonoDevelop/Refactoring/Refactorings">
<Class id="ImplementImplicit" class = "MonoDevelop.Refactoring.ImplementInterface.ImplementImplicit" />
<Class id="ImplementExplicit" class = "MonoDevelop.Refactoring.ImplementInterface.ImplementExplicit" />
<Class id="ImplementAbstract" class = "MonoDevelop.Refactoring.ImplementInterface.ImplementAbstractMembers" />
</Extension>
<ExtensionNodeSet id="MonoDevelop.AnalysisCore.Rules">
<ExtensionNode name="Category" type="MonoDevelop.Ide.Codons.CategoryNode">
<ExtensionNodeSet id="MonoDevelop.AnalysisCore.Rules" />
</ExtensionNode>
<ExtensionNode name="Rule" type="MonoDevelop.AnalysisCore.Extensions.NamedAnalysisRuleAddinNode" />
<ExtensionNode name="Adaptor" type="MonoDevelop.AnalysisCore.Extensions.AdaptorAnalysisRuleAddinNode" />
</ExtensionNodeSet>
<ExtensionPoint path = "/MonoDevelop/AnalysisCore/Rules" name = "Analysis Rules">
<Description>Analysis rules.</Description>
<ExtensionNodeSet id="MonoDevelop.AnalysisCore.Rules" />
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/AnalysisCore/Types" name = "Analysis rule input/output types">
<Description>Analysis rule input/output types.</Description>
<ExtensionNode name="Type" type="MonoDevelop.AnalysisCore.Extensions.AnalysisTypeExtensionNode" />
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/AnalysisCore/FixHandlers" name = "Fix handlers">
<Description>Fix handlers. Classes must implement IAnalysisFixHandler.</Description>
<ExtensionNode name="Handler" type="MonoDevelop.AnalysisCore.Extensions.FixHandlerExtensionNode" />
</ExtensionPoint>
<!-- Text editor integration -->
<Extension path = "/MonoDevelop/Ide/TextEditorExtensions">
<Class class = "MonoDevelop.AnalysisCore.Gui.ResultsEditorExtension" />
</Extension>
<Extension path = "/MonoDevelop/SourceEditor2/TooltipProviders">
<Class id="AnalysisResults" class="MonoDevelop.AnalysisCore.Gui.ResultTooltipProvider" insertafter="Debug" />
</Extension>
<Extension path = "/MonoDevelop/AnalysisCore/Rules">
<Rule _name="Code Issue Analysis" input="Document" func="MonoDevelop.CodeIssues.CodeAnalysisRunner.Check" />
</Extension>
<!-- RefactoryCommands -->
<Extension path = "/MonoDevelop/Ide/Commands">
<Category _name = "Code Navigation" id = "CodeNavigation">
<Command id = "MonoDevelop.Refactoring.RefactoryCommands.GotoDeclaration"
defaultHandler = "MonoDevelop.Refactoring.GotoDeclarationHandler"
_label = "_Go to declaration"
shortcut = "F12"
macShortcut = "Meta|D"/>
<Command id = "MonoDevelop.Refactoring.RefactoryCommands.FindReferences"
defaultHandler = "MonoDevelop.Refactoring.FindReferencesHandler"
_label = "_Find references"
shortcut = "Shift|F12"
macShortcut = "Shift|Meta|R"/>
<Command id = "MonoDevelop.Refactoring.RefactoryCommands.FindDerivedClasses"
defaultHandler = "MonoDevelop.Refactoring.FindDerivedClassesHandler"
_label = "Find _derived classes" />
</Category>
<Category _name = "Refactoring" id = "Refactoring">
<Command id = "MonoDevelop.Refactoring.RefactoryCommands.Resolve"
defaultHandler = "MonoDevelop.Refactoring.ResolveCommandHandler"
type="array"
_label = "Resolve"/>
<Command id = "MonoDevelop.Refactoring.RefactoryCommands.CurrentRefactoryOperations"
defaultHandler = "MonoDevelop.Refactoring.CurrentRefactoryOperationsHandler"
type="array"
_label = "Refactory Operations" />
<Command id = "MonoDevelop.Refactoring.RefactoryCommands.QuickFix"
_label = "Quick fix..."
shortcut = "Alt|Return"
macShortcut = "Alt|Return" />
<Command id = "MonoDevelop.Refactoring.RefactoryCommands.ImportSymbol"
defaultHandler = "MonoDevelop.Refactoring.ImportSymbolHandler"
_label = "Import Symbol..."
shortcut = "Control|Alt|space"
macShortcut = "Control|Alt|space" />
</Category>
</Extension>
<Extension path = "/MonoDevelop/SourceEditor2/ContextMenu/Editor">
<CommandItem id = "MonoDevelop.Refactoring.RefactoryCommands.Resolve" insertbefore="MonoDevelop.SourceEditor.SourceEditorCommands.MarkerOperations"/>
<ItemSet id = "Fix" _label = "Fix" autohide="true"
insertafter="MonoDevelop.SourceEditor.SourceEditorCommands.MarkerOperations" insertbefore="MonoDevelop.Debugger.DebugCommands.ExpressionEvaluator">
<CommandItem id = "MonoDevelop.AnalysisCore.AnalysisCommands.FixOperations" />
</ItemSet>
<CommandItem id = "MonoDevelop.Refactoring.RefactoryCommands.CurrentRefactoryOperations" insertafter="MonoDevelop.SourceEditor.SourceEditorCommands.MarkerOperations" insertbefore="MonoDevelop.Debugger.DebugCommands.ExpressionEvaluator"/>
-
<CommandItem id = "MonoDevelop.CodeGeneration.CodeGenerationCommands.ShowCodeGenerationWindow"
insertafter="MonoDevelop.Ide.Commands.TextEditorCommands.ShowCodeTemplateWindow" />
</Extension>
<Extension path = "/MonoDevelop/Ide/TextEditorExtensions">
<Class class = "MonoDevelop.Refactoring.Rename.RenameTextEditorExtension" />
<Class class = "MonoDevelop.CodeActions.CodeActionEditorExtension" />
</Extension>
<Extension path = "/MonoDevelop/Ide/MainMenu/Edit">
<CommandItem id = "MonoDevelop.CodeGeneration.CodeGenerationCommands.ShowCodeGenerationWindow"
insertafter="MonoDevelop.Ide.Commands.TextEditorCommands.ShowCodeTemplateWindow" />
</Extension>
<!-- Quick fix commands -->
<Extension path = "/MonoDevelop/Ide/Commands/Refactoring">
<Command id = "MonoDevelop.AnalysisCore.AnalysisCommands.FixOperations" type="array"
defaultHandler="MonoDevelop.AnalysisCore.FixOperationsHandler"
_label = "Fixes" />
<Command id = "MonoDevelop.AnalysisCore.AnalysisCommands.ShowFixes"
defaultHandler="MonoDevelop.AnalysisCore.ShowFixesHandler"
_label = "Show Fixes"
_description="Shows a list of fixes for problems at the current location"
macShortcut="Control|."
shortcut = "Control|." />
</Extension>
<!-- Options panels -->
<Extension path = "/MonoDevelop/Ide/GlobalOptionsDialog/SourceCode">
<Section id = "C#" _label = "C#">
<Section id = "Inspection" _label = "Code inspection" fill="true"
class="MonoDevelop.CodeIssues.CodeIssuePanel"/>
<Section id = "CodeActions" _label = "Context Actions" fill="true"
icon="md-text-quickfix"
class="MonoDevelop.CodeActions.CodeActionPanel"/>
</Section>
</Extension>
<Extension path = "/MonoDevelop/Ide/GlobalOptionsDialog/Other">
<Section id = "Analysis" _label = "Source Analysis" fill="true"
class="MonoDevelop.AnalysisCore.Gui.AnalysisOptionsPanel"/>
</Extension>
<!-- Extensions to the addin points defined by this addin -->
<Extension path = "/MonoDevelop/AnalysisCore/Types">
<Type name="Document" class="MonoDevelop.Ide.Gui.Document" />
<Type name="CompilationUnit" class="MonoDevelop.Projects.Dom.ICompilationUnit" />
</Extension>
<Extension path = "/MonoDevelop/AnalysisCore/Rules">
<Adaptor func="MonoDevelop.AnalysisCore.Rules.Adapters.GetCompilationUnit"
input="Document" output="CompilationUnit" />
<Category _name="Design Guidelines" id="Design">
<!-- <Rule _name="Naming Conventions" input="CompilationUnit"
func="MonoDevelop.AnalysisCore.Rules.NamingConventions.ClassNaming" />-->
</Category>
</Extension>
<Extension path = "/MonoDevelop/AnalysisCore/FixHandlers">
<Handler fixName="RenameMember" class = "MonoDevelop.AnalysisCore.Fixes.RenameMemberHandler" />
<Handler fixName="Generic" class = "MonoDevelop.AnalysisCore.Fixes.GenericFixHandler" />
</Extension>
</Addin>
|