The Dopefly Tech Blog

<< The Dopefly Tech Blog Main page

Eclipse Tip: projects/folders open every time Eclipse starts

posted under category: CFEclipse on September 30, 2005 at 1:00 am by MrNate

If you have the problem where a number of folders are stuck open in your Eclipse Navigator View, that sure gets annoying, doesn't it. Here's how you clear it out easily.

Open your workspace folder, wherever that is, then find the \.metadata\.plugins\org.eclipse.ui.workbench\workbench.xml file. Open it up with your favorite editor and navigate to something like:

/workbench/window/page/views/view[@id='org.eclipse.ui.views.ResourceNavigator']/viewstate/currentframe/expanded
Delete all the elements in the expanded node, and the next node, selection. Save and close the workbench.xml file and start Eclipse. Problem solved!

This is as much a future reference for me as it is for anyone else out there.

Too old to comment!
On Dec 10, 2007 at 1:00 AM Andrew Myers (http://andrew.orgfree.com/blog) said:
Thanks - I had the same problem and this was a great help.
Too old to comment!