Search code examples
eclipsekeyboard-shortcutseclipse-pdt

Eclipse MAC - Comment / Uncomment - keyboard shortcut


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.


Solution

  • So i'm not really sure what happend when I upgraded but the solution is as follows-

    1. 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"

    2. open up your eclipse folder - /Applications/ecplise/plugins

    3. replace the "org.eclipse.php.ui_2.2.1.v20101001-2300.jar" with the one you just downloaded

    4. open terminal

    5. navigate to your eclipse folder - /Applications/eclipse

    6. 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.