intention part of IDEADEV-17531
[fedora-idea.git] / plugins / IntentionPowerPak / src / META-INF / plugin.xml
blobd56d24cd427e2dbd56989607cf1744ab2164b232
1 <idea-plugin version="2">
2   <name>Intention Power Pack</name>
3   <id>IntentionPowerPack</id>
4   <version>0.9</version>
6   <vendor>InspectionGadgets Software</vendor>
7   <idea-version min="4.0" max="6.0"/>
8   <resource-bundle>com.siyeh.IntentionPowerPackBundle</resource-bundle>
10   <extensions xmlns="com.intellij">
11     <errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>
13     <!-- Numbers -->
14     <intentionAction>
15       <className>com.siyeh.ipp.integer.ConvertIntegerToDecimalIntention</className>
16       <categoryKey>intention.category.numbers</categoryKey>
17     </intentionAction>
19     <intentionAction>
20       <className>com.siyeh.ipp.integer.ConvertIntegerToHexIntention</className>
21       <categoryKey>intention.category.numbers</categoryKey>
22     </intentionAction>
24     <intentionAction>
25       <className>com.siyeh.ipp.integer.ConvertIntegerToOctalIntention</className>
26       <categoryKey>intention.category.numbers</categoryKey>
27     </intentionAction>
29     <!-- Boolean -->
30     <intentionAction>
31       <className>com.siyeh.ipp.bool.DemorgansIntention</className>
32       <categoryKey>intention.category.boolean</categoryKey>
33     </intentionAction>
35     <intentionAction>
36       <className>com.siyeh.ipp.bool.RemoveBooleanEqualityIntention</className>
37       <categoryKey>intention.category.boolean</categoryKey>
38     </intentionAction>
40     <intentionAction>
41       <className>com.siyeh.ipp.bool.NegateComparisonIntention</className>
42       <categoryKey>intention.category.boolean</categoryKey>
43     </intentionAction>
45     <intentionAction>
46       <className>com.siyeh.ipp.bool.FlipComparisonIntention</className>
47       <categoryKey>intention.category.boolean</categoryKey>
48     </intentionAction>
50     <intentionAction>
51       <className>com.siyeh.ipp.bool.FlipConjunctionIntention</className>
52       <categoryKey>intention.category.boolean</categoryKey>
53     </intentionAction>
55     <intentionAction>
56       <className>com.siyeh.ipp.equality.ReplaceEqualsWithEqualityIntention</className>
57       <categoryKey>intention.category.boolean</categoryKey>
58     </intentionAction>
60     <intentionAction>
61       <className>com.siyeh.ipp.equality.ReplaceEqualityWithEqualsIntention</className>
62       <categoryKey>intention.category.boolean</categoryKey>
63     </intentionAction>
65     <intentionAction>
66       <className>com.siyeh.ipp.trivialif.ExpandBooleanIntention</className>
67       <categoryKey>intention.category.boolean</categoryKey>
68     </intentionAction>
70     <!-- Conditional Operator -->
71     <intentionAction>
72       <className>com.siyeh.ipp.conditional.FlipConditionalIntention</className>
73       <categoryKey>intention.category.conditional.operator</categoryKey>
74     </intentionAction>
76     <intentionAction>
77       <className>com.siyeh.ipp.conditional.ReplaceConditionalWithIfIntention</className>
78       <categoryKey>intention.category.conditional.operator</categoryKey>
79     </intentionAction>
81     <intentionAction>
82       <className>com.siyeh.ipp.trivialif.ReplaceIfWithConditionalIntention</className>
83       <categoryKey>intention.category.conditional.operator</categoryKey>
84     </intentionAction>
86     <intentionAction>
87       <className>com.siyeh.ipp.conditional.RemoveConditionalIntention</className>
88       <categoryKey>intention.category.conditional.operator</categoryKey>
89     </intentionAction>
91     <!-- Shift -->
92     <intentionAction>
93       <className>com.siyeh.ipp.shift.ReplaceMultiplyWithShiftIntention</className>
94       <categoryKey>intention.category.shift.operation</categoryKey>
95     </intentionAction>
97     <intentionAction>
98       <className>com.siyeh.ipp.shift.ReplaceShiftWithMultiplyIntention</className>
99       <categoryKey>intention.category.shift.operation</categoryKey>
100     </intentionAction>
102     <!-- JUnit -->
103     <!-- todo is ReplaceAssertEqualsWithAssertTrueEqualityIntention() the same as new ReplaceAssertEqualsWithAssertLiteralIntention(project, "true", "assertTrue") ? -->
104     <!--
105     <intentionAction>
106       <className>com.siyeh.ipp.junit.ReplaceAssertEqualsWithAssertTrueEqualityIntention</className>
107       <categoryKey>intention.category.junit</categoryKey>
108     </intentionAction>
109     -->
111     <!-- todo is ReplaceAssertTrueEqualityWithAssertEqualsIntention() the same as new ReplaceAssertLiteralWithAssertEqualsIntention(project, "true", "assertTrue") ? -->
112     <!--
113     <intentionAction>
114       <className>com.siyeh.ipp.junit.ReplaceAssertTrueEqualityWithAssertEqualsIntention</className>
115       <categoryKey>intention.category.junit</categoryKey>
116     </intentionAction>
117     -->
119     <intentionAction>
120       <className>com.siyeh.ipp.junit.ReplaceAssertEqualsWithAssertLiteralIntention</className>
121       <categoryKey>intention.category.junit</categoryKey>
122     </intentionAction>
124     <intentionAction>
125       <className>com.siyeh.ipp.junit.ReplaceAssertLiteralWithAssertEqualsIntention</className>
126       <categoryKey>intention.category.junit</categoryKey>
127     </intentionAction>
129     <intentionAction>
130       <className>com.siyeh.ipp.junit.CreateAssertIntention</className>
131       <categoryKey>intention.category.junit</categoryKey>
132     </intentionAction>
134     <intentionAction>
135       <className>com.siyeh.ipp.junit.FlipAssertLiteralIntention</className>
136       <categoryKey>intention.category.junit</categoryKey>
137     </intentionAction>
139     <!-- Declaration -->
141     <!--
142     <intentionAction>
143       <className>com.siyeh.ipp.decls.MoveDeclarationIntention</className>
144       <categoryKey>intention.category.declaration</categoryKey>
145     </intentionAction>
146     -->
148     <intentionAction>
149       <className>com.siyeh.ipp.decls.SimplifyVariableIntention</className>
150       <categoryKey>intention.category.declaration</categoryKey>
151     </intentionAction>
153     <intentionAction>
154       <className>com.siyeh.ipp.initialization.SplitDeclarationAndInitializationIntention</className>
155       <categoryKey>intention.category.declaration</categoryKey>
156     </intentionAction>
158     <intentionAction>
159       <className>com.siyeh.ipp.interfacetoclass.ConvertInterfaceToClassIntention</className>
160       <categoryKey>intention.category.declaration</categoryKey>
161     </intentionAction>
163     <intentionAction>
164       <className>com.siyeh.ipp.varargs.MakeMethodVarargsIntention</className>
165       <categoryKey>intention.category.declaration</categoryKey>
166     </intentionAction>
168     <intentionAction>
169       <className>com.siyeh.ipp.varargs.ConvertVarargParameterToArrayIntention</className>
170       <categoryKey>intention.category.declaration</categoryKey>
171     </intentionAction>
173     <intentionAction>
174       <className>com.siyeh.ipp.varargs.WrapVarargArgumentsWithExplicitArrayIntention</className>
175       <categoryKey>intention.category.declaration</categoryKey>
176     </intentionAction>
178     <!-- Imports -->
180     <intentionAction>
181       <className>com.siyeh.ipp.fqnames.ReplaceFullyQualifiedNameWithImportIntention</className>
182       <categoryKey>intention.category.declaration</categoryKey>
183     </intentionAction>
185     <intentionAction>
186       <className>com.siyeh.ipp.imports.ReplaceOnDemandImportIntention</className>
187       <categoryKey>intention.category.declaration</categoryKey>
188     </intentionAction>
190     <!-- Comments -->
191     <intentionAction>
192       <className>com.siyeh.ipp.comment.ChangeToCStyleCommentIntention</className>
193       <categoryKey>intention.category.comments</categoryKey>
194     </intentionAction>
196     <intentionAction>
197       <className>com.siyeh.ipp.comment.ChangeToEndOfLineCommentIntention</className>
198       <categoryKey>intention.category.comments</categoryKey>
199     </intentionAction>
201     <intentionAction>
202       <className>com.siyeh.ipp.comment.MoveCommentToSeparateLineIntention</className>
203       <categoryKey>intention.category.comments</categoryKey>
204     </intentionAction>
207     <!-- Control Flow -->
208     <intentionAction>
209       <className>com.siyeh.ipp.trivialif.SplitElseIfIntention</className>
210       <categoryKey>intention.category.control.flow</categoryKey>
211     </intentionAction>
212     <intentionAction>
213       <className>com.siyeh.ipp.trivialif.MergeElseIfIntention</className>
214       <categoryKey>intention.category.control.flow</categoryKey>
215     </intentionAction>
216     <intentionAction>
217       <className>com.siyeh.ipp.trivialif.MergeIfAndIntention</className>
218       <categoryKey>intention.category.control.flow</categoryKey>
219     </intentionAction>
220     <intentionAction>
221       <className>com.siyeh.ipp.trivialif.MergeIfOrIntention</className>
222       <categoryKey>intention.category.control.flow</categoryKey>
223     </intentionAction>
224     <intentionAction>
225       <className>com.siyeh.ipp.trivialif.MergeParallelIfsIntention</className>
226       <categoryKey>intention.category.control.flow</categoryKey>
227     </intentionAction>
228     <intentionAction>
229       <className>com.siyeh.ipp.switchtoif.ReplaceSwitchWithIfIntention</className>
230       <categoryKey>intention.category.control.flow</categoryKey>
231     </intentionAction>
232     <intentionAction>
233       <className>com.siyeh.ipp.switchtoif.ReplaceIfWithSwitchIntention</className>
234       <categoryKey>intention.category.control.flow</categoryKey>
235     </intentionAction>
236     <intentionAction>
237       <className>com.siyeh.ipp.trivialif.SimplifyIfElseIntention</className>
238       <categoryKey>intention.category.control.flow</categoryKey>
239     </intentionAction>
240     <intentionAction>
241       <className>com.siyeh.ipp.forloop.ReplaceForEachLoopWithIndexedForLoopIntention</className>
242       <categoryKey>intention.category.control.flow</categoryKey>
243     </intentionAction>
244     <intentionAction>
245       <className>com.siyeh.ipp.forloop.ReplaceForEachLoopWithIteratorForLoopIntention</className>
246       <categoryKey>intention.category.control.flow</categoryKey>
247     </intentionAction>
248     <intentionAction>
249       <className>com.siyeh.ipp.forloop.ReplaceForLoopWithWhileLoopIntention</className>
250       <categoryKey>intention.category.control.flow</categoryKey>
251     </intentionAction>
252     <intentionAction>
253       <className>com.siyeh.ipp.whileloop.ReplaceWhileLoopWithDoWhileLoopIntention</className>
254       <categoryKey>intention.category.control.flow</categoryKey>
255     </intentionAction>
256     <intentionAction>
257       <className>com.siyeh.ipp.whileloop.ReplaceDoWhileLoopWithWhileLoopIntention</className>
258       <categoryKey>intention.category.control.flow</categoryKey>
259     </intentionAction>
260     <intentionAction>
261       <className>com.siyeh.ipp.whileloop.ExtractWhileLoopConditionToIfStatementIntention</className>
262       <categoryKey>intention.category.control.flow</categoryKey>
263     </intentionAction>
264     <intentionAction>
265       <className>com.siyeh.ipp.braces.AddBracesIntention</className>
266       <categoryKey>intention.category.control.flow</categoryKey>
267     </intentionAction>
269     <!--
270     <intentionAction>
271       <className>com.siyeh.ipp.braces.RemoveBracesIntention</className>
272       <categoryKey>intention.category.control.flow</categoryKey>
273     </intentionAction>
274     -->
276     <!-- Other -->
277     <intentionAction>
278       <className>com.siyeh.ipp.commutative.FlipCommutativeMethodCallIntention</className>
279       <categoryKey>intention.category.other</categoryKey>
280     </intentionAction>
281     <intentionAction>
282       <className>com.siyeh.ipp.commutative.SwapMethodCallArgumentsIntention</className>
283       <categoryKey>intention.category.other</categoryKey>
284     </intentionAction>
285     <intentionAction>
286       <className>com.siyeh.ipp.parenthesis.RemoveUnnecessaryParenthesesIntention</className>
287       <categoryKey>intention.category.other</categoryKey>
288     </intentionAction>
289     <intentionAction>
290       <className>com.siyeh.ipp.concatenation.ReplaceConcatenationWithStringBufferIntention</className>
291       <categoryKey>intention.category.other</categoryKey>
292     </intentionAction>
293     <intentionAction>
294       <className>com.siyeh.ipp.concatenation.JoinConcatenatedStringLiteralsIntention</className>
295       <categoryKey>intention.category.other</categoryKey>
296     </intentionAction>
297     <intentionAction>
298       <className>com.siyeh.ipp.concatenation.MakeAppendChainIntoAppendSequenceIntention</className>
299       <categoryKey>intention.category.other</categoryKey>
300     </intentionAction>
301     <intentionAction>
302       <className>com.siyeh.ipp.exceptions.DetailExceptionsIntention</className>
303       <categoryKey>intention.category.other</categoryKey>
304     </intentionAction>
305     <intentionAction>
306       <className>com.siyeh.ipp.exceptions.ConvertCatchToThrowsIntention</className>
307       <categoryKey>intention.category.other</categoryKey>
308     </intentionAction>
309     <intentionAction>
310       <className>com.siyeh.ipp.opassign.ReplaceWithOperatorAssignmentIntention</className>
311       <categoryKey>intention.category.other</categoryKey>
312     </intentionAction>
313     <intentionAction>
314       <className>com.siyeh.ipp.opassign.ReplaceOperatorAssignmentWithAssignmentIntention</className>
315       <categoryKey>intention.category.other</categoryKey>
316     </intentionAction>
317     <intentionAction>
318       <className>com.siyeh.ipp.chartostring.CharToStringIntention</className>
319       <categoryKey>intention.category.other</categoryKey>
320     </intentionAction>
321     <intentionAction>
322       <className>com.siyeh.ipp.chartostring.StringToCharIntention</className>
323       <categoryKey>intention.category.other</categoryKey>
324     </intentionAction>
325     <intentionAction>
326       <className>com.siyeh.ipp.asserttoif.AssertToIfIntention</className>
327       <categoryKey>intention.category.other</categoryKey>
328     </intentionAction>
329     <intentionAction>
330       <className>com.siyeh.ipp.enumswitch.CreateEnumSwitchBranchesIntention</className>
331       <categoryKey>intention.category.other</categoryKey>
332     </intentionAction>
333     <intentionAction>
334       <className>com.siyeh.ipp.constant.ConstantExpressionIntention</className>
335       <categoryKey>intention.category.other</categoryKey>
336     </intentionAction>
337     <intentionAction>
338       <className>com.siyeh.ipp.constant.ConstantSubexpressionIntention</className>
339       <categoryKey>intention.category.other</categoryKey>
340     </intentionAction>
341     <intentionAction>
342       <className>com.siyeh.ipp.increment.ExtractIncrementIntention</className>
343       <categoryKey>intention.category.other</categoryKey>
344     </intentionAction>
345     <intentionAction>
346       <className>com.siyeh.ipp.parenthesis.AddClarifyingParenthesesIntention</className>
347       <categoryKey>intention.category.other</categoryKey>
348     </intentionAction>
349   </extensions>
350 </idea-plugin>