Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How to reset all personal settings to default(I have several indexer issues and I want to try a fresh start)
How to reset all personal settings to default [message #1847518] Sat, 30 October 2021 10:28 Go to next message
Ravenous Bugblatterbeast is currently offline Ravenous BugblatterbeastFriend
Messages: 25
Registered: April 2020
Junior Member
I have a few indexer issues. Everytime I save a header file, the indexer will fail for all the referencing source files until I save them. Sometimes the indexer seems to think that the include guard define is already set and deactivates complete header files (this however could be related to the fact that cmake generated projects happen to have the main source also linked in the subprojects - maybe that's why the indexer sometimes thinks the define is already set).

Even though I haven't done many changes to the settings I want to try a new start. I really would like to keep my code-style and highlighting rules though.

Do I just export my codestyle and the delete all the workspace directories as well as ~/.eclipse? What would be the best practice?

Kind regards
Re: How to reset all personal settings to default [message #1847578 is a reply to message #1847518] Mon, 01 November 2021 16:46 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
To answer your question: it really depends on which settings you want to reset.
Those in the project can often be reset by simply reinstalling the project.
The others have to be reset individually buy walking through the Preferences
menus. Sometimes there is a "Restore Default" button there. Some project
settings have these as well. If walking the menus is too much trouble then
re-installing Eclipse may be your only alternative.
Re: How to reset all personal settings to default [message #1847856 is a reply to message #1847518] Wed, 10 November 2021 14:27 Go to previous messageGo to next message
Ravenous Bugblatterbeast is currently offline Ravenous BugblatterbeastFriend
Messages: 25
Registered: April 2020
Junior Member
Thanks for the reply and sorry for noticing so late.

I want to reset ALL settings (I've already found out how to export my code-style settings).

I didn't "install" eclipse. I've just downloaded it from here:
https://www.eclipse.org/downloads/packages/release/2020-12/r/eclipse-ide-cc-developers

After extracting the entire archive I've started the binary. It created the directory ~/.eclipse that seems to contain all the settings.

Would it be enough to delete this folder in my home directory or do I have to delete the extracted folder too?

Kind regards

[Updated on: Wed, 10 November 2021 14:28]

Report message to a moderator

Re: How to reset all personal settings to default [message #1847861 is a reply to message #1847856] Wed, 10 November 2021 17:36 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Extracting the archive is installing it.
If it's the only place with the settings then try deleting it
or rather rename it and see what happens.

My ~/.eclipse doesn't have anything recent.
All of my projects have a .settings folder though.

There is a .settings folder in the place where I installed Eclipse
under directory configuration that was updated today.
FWIW: /opt/eclipse/2021-09/configuration/.settings

To be honest, I try not to mess with any Eclipse related stuff with the exception
of workspace files. They contain absolute references to the workspace. I try to
keep workspaces separate for each Eclipse version so I can return to a previous
version if needed. I copy previous workspaces to newer ones. The absolute
references cause previous workspaces to change and sometimes become
unusable with previous versions -- a real nuisance. It's one of the reasons I'm
reluctant to move to newer versions. Updating the workspaces to a newer
version is a pain.

[Updated on: Wed, 10 November 2021 21:46]

Report message to a moderator

Previous Topic:How do I set the FLASH address
Next Topic:Caret position jumps to head of next line after using [Content Assist] in C++ editor
Goto Forum:
  


Current Time: Fri Apr 19 04:07:00 GMT 2024

Powered by FUDForum. Page generated in 0.02827 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top