Override deafult behaviour of jtext area on right click
Answered
I have binded the Jtext area with PopUpmenus in in my Jpanel. I want that popup menus should only be seen when I click on" /" key but the popup menus are also shown if i right click in jtext area. I know this is deafult behaviour of jtext area but I dont want the popup on right click
Please sign in to leave a comment.
Hi,
Before implementing the feature, get familiar with https://plugins.jetbrains.com/docs/intellij/plugin-user-experience.html. It is very important that plugin and IDE behave according to the user expectations.
You can try implementing
com.intellij.codeInsight.editorActions.TypedHandlerDelegate
. Menu showing is implemented incom.intellij.ide.actions.ShowPopupMenuAction
.