blob: 7799c9840505a4ae159f558a78beb5075e17f412 (
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
|
<ExtensionModel>
<Runtime>
<Import assembly="RefactoringEssentials.dll" />
</Runtime>
<!-- 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/CodeDiagnosticProvider" name = "Code Diagnostic Provider">
<ExtensionNode name="Class"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/Refactoring/FindReferencesProvider">
<ExtensionNode name="Class"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/Refactoring/FindReferenceUsagesProvider">
<ExtensionNode name="Class"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/Refactoring/JumpToDeclarationHandler" defaultInsertAfter = "MidStep">
<ExtensionNode name="Class"/>
</ExtensionPoint>
<!-- Extensions -->
<!--
<Extension path = "/MonoDevelop/Ide/Pads">
<Pad id="MonoDevelop.Refactoring.CodeIssuePad" _label="Code Issues" class="MonoDevelop.CodeIssues.CodeIssuePad" defaultPlacement = "Bottom"/>
</Extension> -->
<!-- Text editor integration -->
<Extension path = "/MonoDevelop/Ide/TextEditorExtensions">
<Class class = "MonoDevelop.AnalysisCore.Gui.ResultsEditorExtension" />
</Extension>
<Extension path = "/MonoDevelop/Ide/Editor/TooltipProviders">
<Provider id="AnalysisResults" class="MonoDevelop.AnalysisCore.Gui.ResultTooltipProvider" insertafter="CompileError" />
</Extension>
<!-- RefactoryCommands -->
<Extension path = "/MonoDevelop/Ide/Commands">
<Category _name = "Code Navigation" id = "CodeNavigation">
<Command id = "MonoDevelop.Refactoring.RefactoryCommands.FindReferences"
_label = "_Find References"
shortcut = "Shift|F12"
macShortcut = "Shift|Meta|R Shift|F12"/>
<Command id = "MonoDevelop.Refactoring.RefactoryCommands.FindAllReferences"
_label = "_Find References of All Overloads" />
</Category>
<Category _name = "Refactoring" id = "Refactoring">
<Command id = "MonoDevelop.Refactoring.RefactoryCommands.QuickFix"
_label = "Quick Fix..."
shortcut = "Alt|Return"
macShortcut = "Alt|Return" />
<Command id = "MonoDevelop.Refactoring.RefactoryCommands.QuickFixMenu"
_label = "Quick Fix"
type = "array"
defaultHandler = "MonoDevelop.Refactoring.QuickFixMenuHandler" />
<Command id = "MonoDevelop.Refactoring.RefactoryCommands.ImportSymbol"
_label = "Import Symbol..."
shortcut = "Control|Alt|space"
macShortcut = "Control|Alt|space" />
<Command id = "MonoDevelop.AnalysisCore.AnalysisCommands.ExportRules"
defaultHandler = "MonoDevelop.AnalysisCore.ExportRulesHandler"
_label = "Export C# Code Rules to a File"
_description = "Generates an HTML file that contains a list of all code rules"
/>
<Command id = "MonoDevelop.Refactoring.AnalyzeWholeSolution"
defaultHandler = "MonoDevelop.Refactoring.AnalyzeWholeSolutionHandler"
_label = "_Whole Solution"
/>
<Command id = "MonoDevelop.Refactoring.AnalyzeCurrentProject"
defaultHandler = "MonoDevelop.Refactoring.AnalyzeCurrentProjectHandler"
_label = "_Current Project"
/>
<Command id = "MonoDevelop.Refactoring.AnalyzeSource"
defaultHandler = "MonoDevelop.Refactoring.AnalyzeSourceHandler"
_label = "_Analyze Source"
/>
</Category>
<Category id="Hidden" _name="Hidden">
<Command id = "MonoDevelop.Refactoring.RefactoryCommands.FindDerivedClasses"
_label = "Find _Derived Symbols" />
</Category>
</Extension>
<Extension path = "/MonoDevelop/Ide/TextEditorExtensions">
<Class class = "MonoDevelop.CodeActions.CodeActionEditorExtension" />
</Extension>
<Extension path = "/MonoDevelop/Ide/MainMenu/Edit">
<CommandItem id = "MonoDevelop.CodeGeneration.CodeGenerationCommands.ShowCodeGenerationWindow"
insertafter="MonoDevelop.Ide.Commands.TextEditorCommands.ShowParameterCompletionWindow" />
</Extension>
<!-- Options panels -->
<Extension path = "/MonoDevelop/Ide/GlobalOptionsDialog/TextEditor">
<Section id="Analysis" _label="Source Analysis" fill="true" class="MonoDevelop.AnalysisCore.Gui.AnalysisOptionsPanel" icon="md-prefs-code-analysis" >
<Section id="C#" _label="C#" icon="md-prefs-source">
<Panel id="CodeActions" _label="Code Actions" fill="true" class="MonoDevelop.CodeActions.CodeActionPanel" grouping="Tab" icon="md-prefs-code-actions" />
<Panel id="CodeGeneration" _label="Code Generation" fill="true" class="MonoDevelop.Refactoring.CodeGenerationPanel" grouping="Tab" />
<Panel id="CodeRules" _label="Code Rules" fill="true" class="MonoDevelop.CodeIssues.CodeRulePanel" grouping="Tab" icon="md-prefs-code-rules" />
</Section>
</Section>
</Extension>
<!-- Extensions to the addin points defined by this addin -->
<Extension path="/MonoDevelop/Core/StockIcons">
<StockIcon stockid="md-prefs-code-actions" resource="prefs-code-actions-16.png" size="Menu" />
<StockIcon stockid="md-prefs-code-rules" resource="prefs-code-rules-16.png" size="Menu" />
<StockIcon stockid="md-prefs-code-analysis" resource="prefs-code-analysis-16.png" size="Menu" />
</Extension>
<Extension path = "/MonoDevelop/Refactoring/JumpToDeclarationHandler">
<Class id="MidStep" class="MonoDevelop.Refactoring.DummyJumpToDeclarationHandler" />
</Extension>
<Extension path = "/MonoDevelop/Ide/MainMenu/Project">
<ItemSet
id = "Analyze"
_label = "_Analyze">
<CommandItem id = "MonoDevelop.Refactoring.AnalyzeWholeSolution" />
<CommandItem id = "MonoDevelop.Refactoring.AnalyzeCurrentProject" />
</ItemSet>
</Extension>
<Extension path="/MonoDevelop/Ide/ContextMenu/ProjectPad">
<Condition id="ItemType" value="Solution|Project">
<CommandItem id = "MonoDevelop.Refactoring.AnalyzeSource" insertbefore="MonoDevelop.Ide.Commands.SearchCommands.FindInFiles" />
</Condition>
</Extension>
<Extension path="/MonoDevelop/Ide/Composition">
<Assembly file="MonoDevelop.Refactoring.dll"/>
<Assembly file="RefactoringEssentials.dll"/>
</Extension>
<ExtensionPoint path="/MonoDevelop/Refactoring/AnalyzerAssemblies">
<ExtensionNode name = "Assembly" type = "MonoDevelop.Core.AddIns.AssemblyExtensionNode" />
</ExtensionPoint>
<Extension path="/MonoDevelop/Refactoring/AnalyzerAssemblies">
<Assembly file="RefactoringEssentials" />
<Assembly file="Refactoring Essentials" />
<Assembly file="Microsoft.CodeAnalysis.CSharp" />
<Assembly file="Microsoft.CodeAnalysis.CSharp.Features" />
<Assembly file="Microsoft.CodeAnalysis.EditorFeatures" />
<Assembly file="Microsoft.CodeAnalysis.EditorFeatures.CSharp" />
<Assembly file="Microsoft.CodeAnalysis.Features" />
<Assembly file="Microsoft.CodeAnalysis.VisualBasic" />
<Assembly file="Microsoft.CodeAnalysis.VisualBasic.Features" />
</Extension>
</ExtensionModel>
|