| Summary: | Add Ctrl+/ as keyboard shortcut for Toggle Comment | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | broy2 | ||||
| Component: | EDT | Assignee: | Zhi Zhu <zhuzhi> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | chenzhh | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
broy2
Created attachment 201529 [details]
Keyboard shortcuts defined by Eclipse
Add the below code segment to plugin.xml of org.eclipse.edt.ide.ui
<key
commandId="org.eclipse.edt.ide.ui.source.commentGroup.toggle"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
contextId="org.eclipse.edt.ide.ui.eglEditorScope"
sequence="Ctrl+/"/>
Now Toggle comments can use key bindings: Ctrl+7 and Ctrl+/, since Ctrl+/ is used more often, it is showed in the menu
20110819 Verified |