Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354778 - Add Ctrl+/ as keyboard shortcut for Toggle Comment
Summary: Add Ctrl+/ as keyboard shortcut for Toggle Comment
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Zhi Zhu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-15 17:34 EDT by broy2 CLA
Modified: 2017-02-23 14:16 EST (History)
1 user (show)

See Also:


Attachments
Keyboard shortcuts defined by Eclipse (71.68 KB, image/png)
2011-08-15 17:35 EDT, broy2 CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description broy2 CLA 2011-08-15 17:34:15 EDT
Build Identifier: EDT M2 + CDL

Ctrl+/ is more familiar than Ctrl+7.
Eclipse allows both.
See screen capture.

Reproducible: Always

Steps to Reproduce:
1. Open A .egl file.
2. Ctrl+/ to comment a line doesn't do anything.
3. Have to use Ctrl+7 which is new to RBD users.
Comment 1 broy2 CLA 2011-08-15 17:35:11 EDT
Created attachment 201529 [details]
Keyboard shortcuts defined by Eclipse
Comment 2 Zhi Zhu CLA 2011-08-17 02:35:13 EDT
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
Comment 3 broy2 CLA 2011-08-22 14:04:37 EDT
20110819
Comment 4 broy2 CLA 2011-08-22 14:04:56 EDT
Verified