Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove "Project Specific Settings" for all projects in an Eclipse workspace at once?

I have a workspace that contains at least 30 individual Eclipse "project" folders. I need to remove the Java Compiler->Project Specific Settings for every project in the workspace.

Thus far, I have been manually going to each project, opening its properties and unchecking the "Enable project specific settings" box and applying my changes. This takes ages. I'm looking for a way to globally uncheck that box for all projects in my workspace.

Does anyone know how to do this?

like image 925
anothercoder Avatar asked Jul 25 '14 19:07

anothercoder


1 Answers

I don't think Eclipse offer a UI for that, but you can simply delete the settings file (with or without closing Eclipse first)

cd /workspace/
rm */.settings/org.eclipse.jdt.core.prefs

For doing some automation in this area, the preference recorder and workspace mechanics might be a solution.

like image 128
eckes Avatar answered Oct 19 '22 01:10

eckes