I just upgraded by eclipse PDT and can't use the keyboard shortcut
command + shift + c to comment /uncomment
any help would be great. Thanks.
I just upgraded by eclipse PDT and can't use the keyboard shortcut
command + shift + c to comment /uncomment
any help would be great. Thanks.
So i'm not really sure what happend when I upgraded but the solution is as follows-
head over to - http://sourceforge.jp/projects/pdt-tools/releases/51060 - and download the file "org.eclipse.php.ui_2.2.1.v20101001-2300.jar"
open up your eclipse folder - /Applications/ecplise/plugins
replace the "org.eclipse.php.ui_2.2.1.v20101001-2300.jar" with the one you just downloaded
open terminal
navigate to your eclipse folder - /Applications/eclipse
type "./eclipse -clean"
This fixes up your keyboard short cut but in my case I need to re-map from command + / to command + shift + c
Thanks to slomojo for this- 7. Go to windows -> preferences -> general settings -> keys and update the following http://img703.imageshack.us/img703/264/bildschirmfoto20110915u.png
hope this helps.
Have a look in Eclipse > Preferences > General Settings > Keys
The shortcut may have been overridden by another one.
So i'm not really sure what happend when I upgraded but the solution is as follows-
head over to - http://sourceforge.jp/projects/pdt-tools/releases/51060 - and download the file "org.eclipse.php.ui_2.2.1.v20101001-2300.jar"
open up your eclipse folder - /Applications/ecplise/plugins
replace the "org.eclipse.php.ui_2.2.1.v20101001-2300.jar" with the one you just downloaded
open terminal
navigate to your eclipse folder - /Applications/eclipse
type "./eclipse -clean"
This fixes up your keyboard short cut but in my case I need to re-map from command + / to command + shift + c
Thanks to slomojo for this- 7. Go to windows -> preferences -> general settings -> keys and update the following http://img703.imageshack.us/img703/264/bildschirmfoto20110915u.png
hope this helps.
Single line
Toggle of same keys
comment Cmd + Shift + C
uncomment Cmd + Shift + C
Multiline
comment Cmd + /
uncomment Cmd + \ (note the backslash)
Hope this helps!
Mai 2022 on my MacBook Pro 2019 => select the code you want to comment or uncomment and do the following: press command 7
to comment and command 7
to uncomment
© 2022 - 2024 — McMap. All rights reserved.