Comment toggle (CTRL-/) [message #893820] |
Thu, 05 July 2012 10:54  |
Eclipse User |
|
|
|
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
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.26968 seconds