How to create a new IntentionAction plugin
Answered
Hi,
I am trying to write a new refactoring that is invoked using alt-enter. I was trying to follow the lead of this example plugin:
https://confluence.jetbrains.com/display/IDEADEV/Creation+of+Intention+Action
However, the above page says: "
- Start IntelliJ IDEA and open the conditionalOperatorConvertor plugin project saved into the<%IDEA project folder%>/community/samples/conditionalOperatorConvertor directory.
"
I have no "community" directory in my IdeaProjects folder. Can you please show me where to find this example plugin so I can follow its example?
I am using IntelliJIDEA community edition 14.1.4 on Mac OSX 10.11.1
Thanks,
LM
Please sign in to leave a comment.
Hi,
Use the same path but without 'community' part. Here is the most recent documentation: http://www.jetbrains.org/intellij/sdk/docs/tutorials/code_intentions.html
And here is IntelliJ SDK docs repo: https://github.com/JetBrains/intellij-sdk-docs/tree/master/code_samples
Thanks Alexander!