gaMa
gaMa

Reputation: 47

Eclipse Mars is not saving preferences

Ctrl+Space is not showing proposals. e.g sysout or arr. is not working. I tried to restore default from Content Assist-> Advanced.

But, the changes which I make does not get saved and it reverts back to the original settings in preferences. Has anyone encountered this before? Any help will be much appreciated.

Upvotes: 0

Views: 3400

Answers (2)

Bludwarf
Bludwarf

Reputation: 908

I have the same problem on Eclipse Neon. It may be linked to Code Recommenders because only the "Java Proposals (Code Recommenders)" item will be saved when checked.

Java Proposals (Code Recommenders) checked

But when you uncheck this item it will allow you to save some other items. I don't understand why but some items will still remained unsaved.

Java Proposals (Code Recommenders) unchecked

Upvotes: 0

Ruchir Baronia
Ruchir Baronia

Reputation: 7571

This is actually kind of common in eclipse.

Although this link doesn't describe the exact symptoms you have stated, the solution it proposes may be able to solve your issue:

http://mschrag.blogspot.co.nz/2009/01/open-type-cant-find-your-class.html

  • Quit Eclipse
  • Go to workspace/.metadata/.plugins/org.eclipse.jdt.core
  • Remove *.index and savedIndexNames.txt
  • Restart Eclipse and search Ctrl+T for the offending type. The indexes will be rebuilt.

Try doing that. If it still doesn't work, try to delete the class itself, and re make it. Just copy and paste. Again, you mentioned the default preferences:

Windows > Preferences > Java > Editor > Content Assist > Advanced

The Eclipse help page tells to restore:

Select the proposal kinds contained in the 'default' content assist list:

  • Other Java Proposals,
  • SWT Template Proposals,
  • Template Proposals,
  • Type Proposals

Now, also go in here:

Window > Preferences > Java > Appearance > Type Filters

And make sure that you didn't filter out random stuff that you don't want to filter out. Also try to just disable everything there.

Let me know if it helped!

Upvotes: 2

Related Questions