Comment toggle (CTRL-/) [message #893820] |
Thu, 05 July 2012 14:54 |
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
|
|
|
|
|
|
|
Re: Comment toggle (CTRL-/) [message #894626 is a reply to message #894500] |
Mon, 09 July 2012 21:27 |
Dave H Messages: 43 Registered: January 2010 |
Member |
|
|
When is an actual fix to this going to be implemented? I've been seeing this problem for over a year now on multiple versions of Eclipse and I don't think this workaround should be the solution.
Edit: I'm also unable to extract the file in Windows 7... maybe I need to use a zip file extractor. This is still way too complicated.
[Updated on: Mon, 09 July 2012 21:34] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04144 seconds