In Eclipse 3.5 (and with the Aptana plugins), how do I get a view that I can use to show my project, including “dot” files?

StackOverflow https://stackoverflow.com/questions/1066450

  •  21-08-2019
  •  | 
  •  

Question

I've managed to get the various project explorer views to show dot files, such as .htaccess, but if I ever close the project and reopen it, the dot files no longer show up in the view. Am I missing a view that lets me show the dot files or is there some kind of configuration option that I can toggle? I've tried a few things over the past few days, but I'm not sure what they were, since I really didn't keep track.

Suggestions?

Was it helpful?

Solution

I've managed to get the various project explorer views to show dot files:

alt text http://www.gentleware.com/fileadmin/media/archives/userguides/apolloforeclipse_userguide/images/filter.png

That is normally done through the filter view of a Package Explorer, by deactivating the 'resources' filter (.*).
That is normally saved into the ui preference file:

<workspace>\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.jdt.ui.prefs

Can you check that this file is properly updated when you change its settings?

I confirm those settings are in the org.eclipse.jdt.ui.prefs file, under the line:

CustomFiltersActionGroup.org.eclipse.jdt.ui.PackageExplorer.userDefinedPatterns=*.contrib, *.bak, *.launch, *.zip, *.rar, *.pmd, *.log

(those are example values for a filter)

However: while eclipse is running, adding a filter does not trigger any setting file modification. The new filter is strictly in memory during the eclipse session.
Only at the end of the session, during the eclipse closing step, you can find this filter written in org.eclipse.jdt.ui.prefs.

In my case, closing/reopening a project did re-use correctly those global filters in the Package Explorer.
Could you check if this line is present in org.eclipse.jdt.ui.prefs, and if not, add it (restart eclipse) and see if this now works as expected?

OTHER TIPS

There is the Navigator View, which will show the dot files by default.

Navigator View http://img301.imageshack.us/img301/1116/screen2w.png

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top