Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The option to save a file is greyed out in Eclipse

Tags:

eclipse

I'm using Eclipse 3.7 on Ubuntu. Often, after editing a file, I cannot save it - the "save" option is greyed out in the menu and Ctrl+s seems to do nothing, even though the file has just been modified and the editor displays the asterisk before the file name in the tab header.

Changing the active tab to another file and then coming back to the first file "unlocks" the save option, which I can then choose.

What causes this behavior, and how can I fix it?

like image 850
Oak Avatar asked Dec 08 '11 10:12

Oak


2 Answers

This is a reported bug in Eclipse. You can follow up and bring more information in the bug report in Eclipse's bugzilla.

like image 113
gpoo Avatar answered Oct 15 '22 01:10

gpoo


The easiest workaround I could find was to just restart eclipse. Worked for me.

like image 1
Naveen Avatar answered Oct 15 '22 01:10

Naveen