I have a plugin that provides support for a query language, similar to SQL. I want to support query execution on Ctrl+Enter on the active editor, instead of the SplitLine action.
Here is how it's configured in plugin.xml:
text="Execute" description="Execute" popup="true" use-shortcut-of="EditorSplitLine">
<add-to-group group-id="EditorPopupMenu.Run" anchor="first"/>
<add-to-group group-id="rdfandsparql.QueryEditorHeaderToolbar" anchor="first"/>
<keyboard-shortcut first-keystroke="control ENTER" keymap="$default"/>
It works fine until the 212.x and older versions of the SDK. Not sure what has changed in the SDK, but nothing has changed in my code. Anyways, it could be that prior the 212.x version it works because of a bug in the SDK or something else.
How to implement such functionality correctly, so that it works in all versions or at least in the 212.x and older ones?