has been using NetBeans IDE development, accustomed to NetBeans shortcut keys, recently to develop an app to choose the H5. Then used the Hbuilder (Eclipse-based development)
Overall, the IDE can also, whether it is code hints, fluency, fonts and other feelings can also, but is the shortcut key too uncomfortable, a not careful to press a shortcut key also thought to achieve netbeans quick effect,
So it took 10 minutes to change the Eclipse shortcut to NetBeans (just the part, the same principle)
Selection: Tools-Preferences-general-shortcut keys
Shortcut keys to replace
Description |
ECLIPSE[KB] |
NETBEANS[KB] |
Activation Code Helper |
alt+/ |
Ctrl+j |
Organizing code formats |
Ctrl+shift+f |
Shift+alt+f |
Insert the current row or selected area repeatedly |
Ctrl+shift+r |
Ctrl+shift+down |
Insert end of Word character |
Ctrl+alt+enter |
CTRL +; |
Toggle the next Editor |
Ctrl+f6 |
Ctrl+tab |
Maximize active view or editor |
Ctrl+m |
Shift+esc |
............ |
............ |
............ |
After replacing the user bar inside the form, you can see an uppercase "U" indicating user-defined
After completing the shortcut key substitution in the Test Editor, is not feeling very good, in order to save this shortcut configuration we can export this configuration, the next time or change the computer can be directly imported shortcut key configuration
Select file--Export
Export to. epf file
Choose Import as well
We look at the exported EPF file:
#Sat may 15:37:03 CST 2015file_export_version=3.0@org.eclipse.ui.workbench=3.7.1.v20120104-1859/instance/ org.eclipse.ui.workbench/org.eclipse.ui.commands=<?XML version\= "1.0" encoding\= "UTF-8"?>\ r \ n<Org.eclipse.ui.commands>\ r \ n<keyBindingcommandid\= "Com.aptana.editor.commands.comment"contextid\= "Org.eclipse.ui.textEditorScope"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "ctrl+shift+/"/>\ r \ n<keyBindingcontextid\= "Org.eclipse.ui.textEditorScope"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "ctrl+/"/>\ r \ n<keyBindingcommandid\= "Com.aptana.editor.commands.comment"contextid\= "Org.eclipse.ui.textEditorScope"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "ctrl+/"/>\ r \ n<keyBindingcontextid\= "Org.eclipse.ui.contexts.window"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Ctrl+tab"/>\ r \ n<keyBindingcontextid\= "Org.eclipse.ui.contexts.window"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Ctrl+tab"/>\ r \ n<keyBindingcontextid\= "Org.eclipse.ui.textEditorScope"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "ALT+CTRL+CR"/>\ r \ n<keyBindingcommandid\= "Com.pandora.ui.insert.ruby.source.insert_terminator"contextid\= "Org.eclipse.ui.textEditorScope"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Ctrl +;"/>\ r \ n<keyBindingcontextid\= "Org.eclipse.ui.contexts.window"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Ctrl+m"/>\ r \ n<keyBindingcontextid\= "Org.eclipse.ui.contexts.window"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Ctrl+m"/>\ r \ n<keyBindingcommandid\= "Org.eclipse.ui.window.maximizePart"contextid\= "Org.eclipse.ui.contexts.window"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Shift+esc"/>\ r \ n<keyBindingcontextid\= "Org.eclipse.ui.contexts.dialogAndWindow"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "alt+/"/>\ r \ n<keyBindingcontextid\= "Org.eclipse.ui.contexts.dialogAndWindow"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "alt+/"/>\ r \ n<keyBindingcommandid\= "Org.eclipse.ui.edit.text.contentAssist.proposals"contextid\= "Org.eclipse.ui.contexts.dialogAndWindow"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Ctrl+j"/>\ r \ n<keyBindingcontextid\= "Org.eclipse.ui.contexts.window"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Ctrl+f6"/>\ r \ n<keyBindingcontextid\= "Org.eclipse.ui.contexts.window"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Ctrl+f6"/>\ r \ n<keyBindingcommandid\= "Org.eclipse.ui.window.nextEditor"contextid\= "Org.eclipse.ui.contexts.window"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Ctrl+tab"/>\ r \ n<keyBindingcontextid\= "Org.eclipse.ui.textEditorScope"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Ctrl+shift+f"/>\ r \ n<keyBindingcontextid\= "Org.eclipse.ui.textEditorScope"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Ctrl+shift+f"/>\ r \ n<keyBindingcommandid\= "Com.aptana.editor.commands.Format"contextid\= "Org.eclipse.ui.textEditorScope"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Alt+shift+f"/>\ r \ n<keyBindingcontextid\= "Org.eclipse.ui.textEditorScope"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Ctrl+shift+r"/>\ r \ n<keyBindingcontextid\= "Org.eclipse.ui.textEditorScope"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Ctrl+shift+r"/>\ r \ n<keyBindingcommandid\= "Com.pandora.ui.copy.duplicate_line"contextid\= "Org.eclipse.ui.textEditorScope"keyconfigurationid\= "Hbuilder.accelerator"keysequence\= "Ctrl+shift+arrow_down"/>\ r \ n</Org.eclipse.ui.commands>\!/=
is actually the shortcut XML configuration we exported
Eclipse shortcut key conversion to NetBeans shortcut key