To create a key scheme in eclipse, you must create a new eclipse plugin and use the extension point "org.eclipse.ui.bindings", see the sample plugin.xml below.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<extension point="org.eclipse.ui.bindings"> | |
<scheme | |
name="tux2323" | |
description="My Eclipse Key Scheme" | |
parentId="org.eclipse.ui.defaultAcceleratorConfiguration" | |
id="com.github.tux2323.eclipse.keyschemeAcceleratorConfigurationleratorConfiguration"> | |
</scheme> | |
<key | |
commandId="org.eclipse.ui.perspectives.showPerspective" | |
schemeId="com.github.tux2323.eclipse.keyschemeAcceleratorConfigurationleratorConfiguration" | |
sequence="M1+M2+P"> <!-- Win: STRG+SHIFT+P Mac: CMD+SHIF+P --> | |
</key> | |
<!-- Add here the keys for the scheme --> | |
</extension> | |
</plugin> |
If you have any good ideas of missing eclipse shortcuts, feel free to write a comment with the idea thx...