How to override built-in action's key mapping?

已回答

Currently, if I have an action in my plugin which has a key mapping which is already used by a built-in Action in IDEA, it is ignored. How to override the built-in action with my action?

0

You may try using the KeymapManager to remove existing shortcut:

Keymap active = KeymapManager.getInstance().getActiveKeymap();
1

Thank you! This works!

0

请先登录再写评论。