Checkbox menu item for action WarnerJan Veldhuis 创建于 2013年11月13日 10:20 Hello all,Does IDEA provide a mechanism for AnAction defined in plugin.xml to be displayed as a JCheckBoxMenuItem?See the example below from the View menu:
Don't you just hate it when you find the solution minutes after posting on a forum?? Extending ToggleAction will do the job.
Correct.
BTW Open API and Plugin Development forum suits this kind of questions better.
Ofcourse, that's where it belongs. I have made more posts there. I have missed that somehow. Feel free to move it.