Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PDT » Comment toggle (CTRL-/) (Comment toggling has been an ongoing issue with Eclipse through multiple versions, and it still exists in Juno)
Comment toggle (CTRL-/) [message #893820] Thu, 05 July 2012 10:54 Go to previous message
Tom G is currently offline Tom G
Messages: 6
Registered: July 2012
Junior Member
As others have noted, there appear to be ongoing issues with the comment toggle keyboard shortcut CTRL-/ (and CTRL-7).

I have had this issue appear in Ganymede and Indigo, and now it has reappeared in Juno, and I can recreate it fairly consistently.

* Open a PHP project
* Open a PHP file
- CTRL-/ will work
* Open a second PHP file
- CTRL-/ will work in the first file, not in the second

* Close all PHP files
* Open a 2 PHP files
- CTRL-/ will work in the first file, not the second. If you close the second, CTRL-/ will STOP working in the first.

* Close all PHP files
* Open 3 PHP files
- CTRL-/ will work in the SECOND file opened, none of the others

* Open a PHP file
- CTRL-/ will work
* UNDO all changes
* Open a second PHP file
- CTRL-/ will work in the second file, and stop working in the first

There are some variations, but it seems to be around code modification as the keystroke appears to be accepted, but the actual process of modifying the code in the currently open window fails. There are no entries in workspace/.metadata/.log, and the issue occurs after running `eclipse -clean`. Running eclipse in debug mode (`./eclipse -debug`) also shows no errors.

The workaround is to close all open files and re-open the one you want to use the shortcut in.

It is not related to PHP or Smarty support for a project as the bug occurs in general projects that have PHP files in them. It's also not related to Smarty PDT specifically as the bug occurs even when Smarty PDT is removed.

Environment details:
Linux (Ubuntu 11.04)

Installed packages:
Subclipse
SmartyPDT
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:How to remove smart quotes from text file?
Next Topic:Regression in Juno? Dragging source files between Windows
Goto Forum:
  


Current Time: Wed May 22 00:33:19 EDT 2013

Powered by FUDForum. Page generated in 0.01580 seconds