Narayan Singhal wrote:
> i have developed a "toggle-comment" feature in a custom language. I am
> trying to map it to D-SLASH (So in Mac Command-SLASH) works for
> toggling the comments. It is not working because it is already mapped
> to Java toggle comment functionality. This custom language files are
> part of the Java project. How can i change so that it works in .java
> file and also .custom file?
D-SLASH is bound to 'toggle-comment' action for all editors (mime
types). I think the only thing you need to do is to name (Action.NAME)
your action 'toggle-comment' and register it from YourKit.createActions().
-vita