How to specify the inspectionDescription? (newbie question)

I trid to explore the conditionalOperatorConvertor example given in the dev pack examples, however I could not find where to specify the path of "description.html" and the "before(after).java.template". Is it indicated in the sode or somewhere else?

Currently when I click my plugin item under the intention list, the Description and the usage example will not be shown and the following example is shown in console:
ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_PRESSED,(95,208),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on dialog1

One simple solution will do. I18n is not the current concern. My build number is 4155

Thanks in advance

0
3 comments

this is determined via the classname of the inspection/intention
just have a look at the sample plugins in devkit

0
Avatar
Permanently deleted user

Yann Cebron wrote:

this is determined via the classname of the inspection/intention
just have a look at the sample plugins in devkit


No, it's determined by the inspection's ID, not the classname.

0
Avatar
Permanently deleted user

Actually it's determined by the inspection ID, but the IG inspections construct the inspection ID from the class name.

--Dave Griffith

0

Please sign in to leave a comment.