How to use original implementation of an action
Answered
Hello, I am creating an action and mentioning it in plugin.xml file. There I mention that the keyboard shortcut is Tab (or any other shortcut). Suppose I only want to implement this action under certain if conditions and otherwise I want the original implementation. How to do this? I would also want that the user can change this keyboard shortcut through Keymap
Please sign in to leave a comment.
Hi,
See
com.intellij.openapi.actionSystem.ActionPromoter.Do you have any reference where this has been implemented?
There are many implementations of this extension point.
Please get familiar with https://plugins.jetbrains.com/docs/intellij/explore-api.html, especially: