How can I add a context menu to the project view?
已回答
How can I add a context menu to the project view?
I think it should be an AnAction. And I don't know which Group should be added to.the
And also, how can I get the selected VirtualFile and Project?
请先登录再写评论。
Please follow tutorial http://www.jetbrains.org/intellij/sdk/docs/tutorials/action_system/working_with_custom_actions.html
All Group IDs are available in wizard or from auto completion in plugin.xml