Since upgrading Eclipse PDT from 3.5 to 3.6 my toggle comment/block comment shortcuts (CTRL + /) in Editors view, are not working any more. I can see them in the Menu
Source > Toggle Commtent (Ctrl + /)
as well as in the context menu accessible via
Shift + Ctrl + L
But they simple don't work any more.
Has anybody the same problems? And is there a solution out there for this problem?
Go to Window -> Preferences -> General -> Keys. Then, click Restore Defaults button at the bottom, and restart Eclipse. I am using Eclipse Juno. I had the same problem with STS(Spring Tool Suite version 3.83) The above solution fixed it.
the main preference page can be found under window > preferences > general > keys (or faster: press ctrl+3 , type keys and press enter ). from here you can see all commands and assign/change their associated keyboard shortcuts.
The main preference page can be found under Window > Preferences > General > Keys (or faster: Press Ctrl+3, type Keys and press Enter). From here you can see all commands and assign/change their associated keyboard shortcuts.
I have found a solution for this in the attached eclipse forum posts.
You simply have to download
org.eclipse.php.ui_2.2.1.v20101001-2300.jar
from
http://www.eclipse.org/downloads/download.php?file=/tools/pdt/updates/2.2/milestones/plugins/org.eclipse.php.ui_2.2.1.v20101001-2300.jar
http://www.eclipse.org/downloads/download.php?file=/tools/pdt/updates/2.2/milestones/plugins/org.eclipse.php.debug.core.source_2.2.0.v20101001-2300.jar
http://www.eclipse.org/downloads/download.php?file=/tools/pdt/updates/2.2/milestones/plugins/org.eclipse.php.debug.core_2.2.0.v20101001-2300.jar
and start eclipse with -clean command
cd /path/to/eclipse
eclipse -clean
Eclipse Forum posts
http://www.eclipse.org/forums/index.php?t=tree&th=205571&S=d1aa5d2748a6d8ee2064c340ec8eaa88#page_top
http://www.eclipse.org/forums/index.php?t=msg&th=205375&start=0&S=ef58561fd3814f61bc3386addebba90c
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With