Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Toggle Comment on latest Eclipse for PHP
Toggle Comment on latest Eclipse for PHP [message #657870] Fri, 04 March 2011 12:15 Go to next message
pH4Lk0n  is currently offline pH4Lk0n Friend
Messages: 1
Registered: March 2011
Junior Member
Hi,
I'm recently upgraded my Eclipse downloading latest packaged: Eclipse for PHP Developers.
What happened to comment short-cut Ctrl + / ??
It doesn't work any more. What's worse I cannot toggle comment from Source menu either?
Was the combination changed or I need to configure something?
Or maybe it's a bug related to my example?
It was very help full and I'm considering switch to previous version just to get this feature.
Thanks for any help
Best regards
Re: Toggle Comment on latest Eclipse for PHP [message #658556 is a reply to message #657870] Tue, 08 March 2011 23:47 Go to previous messageGo to next message
bunwich is currently offline bunwichFriend
Messages: 1
Registered: March 2011
Junior Member
Yep I updated today to the patch today, I think it was
EPP PHP Feature 1.3.2.20110301-1807 org.eclipse.epp.package.php.feature.feature.group

control + /

does not work any more for toggling comments.

Re: Toggle Comment on latest Eclipse for PHP [message #659269 is a reply to message #657870] Fri, 11 March 2011 18:00 Go to previous messageGo to next message
Ollie222  is currently offline Ollie222 Friend
Messages: 7
Registered: January 2011
Junior Member
I have exactly the same issue here too after updating to the latest version a couple of days ago.

If I press CTRL+Shift+L it brings up a list of the shortcuts and 'CTRL+/ toggle comments' is listed along with 'CTRL+shift+/' and 'CTRL+shift+\' for add and remove block comments however none of them do anything.

I can't see the same shortcuts listed for anything else which I thought may cause be causing a conflict.

A solution would be superb.
Re: Toggle Comment on latest Eclipse for PHP [message #659661 is a reply to message #657870] Tue, 15 March 2011 04:57 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: March 2011
Junior Member
I'm on a Mac and experiencing the same issue. I was usually able to toggle comment using Command+/, not anymore.
Re: Toggle Comment on latest Eclipse for PHP [message #659706 is a reply to message #657870] Tue, 15 March 2011 10:05 Go to previous messageGo to next message
Markus  is currently offline Markus Friend
Messages: 4
Registered: March 2011
Junior Member
Same here. OS Windows XP, Eclipse Helios + PDT.
Upgraded from Galileo a few days ago and now the 'Toggle Comment' and 'Add Block Comment' Functions don't work anymore.

Anyone with a solution for this annoying issue?
Re: Toggle Comment on latest Eclipse for PHP [message #659846 is a reply to message #657870] Tue, 15 March 2011 18:56 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: March 2011
Junior Member
I've confirmed it on my Helios + Ubuntu 10.10 installation that "Toggle Comment" and "Toggle Block Comment" does not work. Neither the defined shortcuts or using the menu options under " Source>Toggle Comment or Source>Toggle Block Comment
Re: Toggle Comment on latest Eclipse for PHP [message #659851 is a reply to message #657870] Tue, 15 March 2011 19:17 Go to previous messageGo to next message
Ollie222  is currently offline Ollie222 Friend
Messages: 7
Registered: January 2011
Junior Member
Just to add to my post above my issue is on Windows 7 so it does seem to be affecting people on multiple platforms.
Re: Toggle Comment on latest Eclipse for PHP [message #660095 is a reply to message #657870] Wed, 16 March 2011 19:10 Go to previous messageGo to next message
NerdyNick  is currently offline NerdyNick Friend
Messages: 2
Registered: March 2011
Junior Member
This post had a solution that worked for me

http://www.eclipse.org/forums/index.php?t=msg&th=205375& amp;start=0&S=ef58561fd3814f61bc3386addebba90c

Download the jar listed http://sourceforge.jp/projects/pdt-tools/releases/51060 name org.eclipse.php.ui_2.2.1.v20101001-2300.jar

Replace the one in your eclipse/plugins folder with this one. and run eclipse with -clean argument on the first run to get it to be picked up. Changlog had better description of what to do.
Re: Toggle Comment on latest Eclipse for PHP [message #660121 is a reply to message #657870] Wed, 16 March 2011 22:56 Go to previous messageGo to next message
Ollie222  is currently offline Ollie222 Friend
Messages: 7
Registered: January 2011
Junior Member
Unfortunately that solution doesn't seem to work for me so any other suggestions would be welcome.
Re: Toggle Comment on latest Eclipse for PHP [message #660180 is a reply to message #660095] Thu, 17 March 2011 09:23 Go to previous messageGo to next message
Markus  is currently offline Markus Friend
Messages: 4
Registered: March 2011
Junior Member
Thanks NerdyNick! For me this solution works!

Be sure to run eclipse with the -clean argument from console after you updated the mentioned .jar file:

cd path/to/your/eclipse_installation
eclipse -clean
Re: Toggle Comment on latest Eclipse for PHP [message #660217 is a reply to message #660180] Thu, 17 March 2011 12:25 Go to previous messageGo to next message
Ollie222  is currently offline Ollie222 Friend
Messages: 7
Registered: January 2011
Junior Member
I did launch it using the -clean argument as per the instructions.

I've also been trying to assign a shortcut to the SVN commit and I've bound alt+c to the SVN commit function in dialogs and windows and it shows up as being available when pressing shift+ctrl+L but does nothing when pressed so I don't know if helps denote anything.

Most of the other shortcuts I use seem to be working and for the ones that don't work the same key presses haven't been assigned more than once.
Re: Toggle Comment on latest Eclipse for PHP [message #660218 is a reply to message #657870] Thu, 17 March 2011 12:31 Go to previous messageGo to next message
NerdyNick  is currently offline NerdyNick Friend
Messages: 2
Registered: March 2011
Junior Member
Not sure if this will help you, but worth a try. I came across this solution that involved the SVN hooks not working.

http://stackoverflow.com/questions/3400185/key-bindings-not- working-in-eclipse
Re: Toggle Comment on latest Eclipse for PHP [message #660234 is a reply to message #660218] Thu, 17 March 2011 13:49 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: March 2011
Junior Member
I installed the new .jar and ran eclipse -clean but this did not fix the issue for me either

edit: nevermind, was too hasty in my comment, the command works from the "Source" drop-down menu. Looks like I messed up the shortcut

[Updated on: Thu, 17 March 2011 13:56]

Report message to a moderator

Re: Toggle Comment on latest Eclipse for PHP [message #660274 is a reply to message #660218] Thu, 17 March 2011 16:03 Go to previous messageGo to next message
Ollie222  is currently offline Ollie222 Friend
Messages: 7
Registered: January 2011
Junior Member
NerdyNick wrote on Thu, 17 March 2011 08:31
Not sure if this will help you, but worth a try. I came across this solution that involved the SVN hooks not working.

http://stackoverflow.com/questions/3400185/key-bindings-not- working-in-eclipse


Thank you sir, that has resolved the SVN shortcut issue perfectly.

I still have the issue with the blocks and I've noticed a couple more things that may help.

When editing php on the 'Source' menu I have toggle comments, add comment block and remove comment block all listed with shortcuts but none of them work even when selected from the menu.

These options work fine when editing a css file even using shortcuts.

If I look at the shortcut settings under preferences toggle comment is listed twice for editing php source, java source and javascript with the keys CTRL+/ and CTRL+7. I presume this means that both shortcuts should work, neither do.

I also note that when looking at the shortcut keys under the 'when' dropdown box I have two entris for 'editing php source' and 'debugging php', is this normal?
icon14.gif  Re: Toggle Comment on latest Eclipse for PHP [message #691936 is a reply to message #660095] Sat, 02 July 2011 21:39 Go to previous messageGo to next message
Jovan  erovi? is currently offline Jovan erovi?Friend
Messages: 1
Registered: July 2011
Junior Member
@NerdyNick: Thanks a lot! That worked perfectly! Smile
Re: Toggle Comment on latest Eclipse for PHP [message #1707934 is a reply to message #691936] Thu, 10 September 2015 15:53 Go to previous message
Eclipse UserFriend
I still have problems with comment shortcuts. Issue 386879 is supposed to be fixed though: https://bugs.eclipse.org/bugs/show_bug.cgi?id=386879
Previous Topic:How to Edit Existing pdf using fpdf Library in PHP
Next Topic:MasterCard integration Using Php language ?
Goto Forum:
  


Current Time: Tue Oct 15 02:22:03 GMT 2024

Powered by FUDForum. Page generated in 0.07466 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top