Search code examples
eclipseidekeyboard-shortcutseclipse-pdt

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?


Solution

  • 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