Reputation: 10220
Sometimes I cannot save a file in Eclipse Juno.
The File->Save option is greyed out and Ctrl+S does not work. What's going on?
Upvotes: 13
Views: 12328
Reputation: 71
Try: Save as. It will tell you what is a problem in your code. Probably you did "copy-paste" and some characters cannot be mapped using "US-ASCII" encoding characters.
Upvotes: 3
Reputation: 727
You can also restart your Eclipse.
If you didn't use that "Save all"-workaround that was mentioned you will of course lose all your unsaved progress.
By restarting Eclipse you will be able to use the "normal" save again (until it is greyed out again...for me this happens like once per day)
Upvotes: 0
Reputation: 10220
This is a known issue in Eclipse Juno:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=396418
As a workaround, use 'Save All': Shft+Ctrl+S
Upvotes: 19