Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse PDT 3.6 Helios, keyboard shortcuts for toggle comment not working any more

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?

like image 300
Jeremy S. Avatar asked Apr 21 '11 10:04

Jeremy S.


People also ask

Why Eclipse shortcuts are not working?

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.

How do I enable keyboard shortcuts in Eclipse?

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.

How do I change keymap in Eclipse?

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.


1 Answers

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

like image 61
Jeremy S. Avatar answered Sep 22 '22 10:09

Jeremy S.