Question

Eclipse, by default, hides files that begin with . in the Package Explorer, Navigator, and other file views (e.g. .classpath, .settings, etc). Is it possible to hide files which end in ~ (e.g. somefile.txt~).

Yes, these are Emacs backup files, created while using both Eclipse and Emacs on the same project.

Was it helpful?

Solution

In the package explorer toolbar, there should be an icon that makes a dropdown menu appear; in that menu, select "Filters…".

Edit: see this link for an example of the icon, denoted the 'Menu button'

OTHER TIPS

use backup-directory-alist in your emacs config to stash away the emacs backups in a different directory

In the Mars release, for the project you want to filter files on:

  • Project > properties > Resource/Resource Filters, Add Filter...

  • In the Add Resource Filter dialog:

    • Select "Exclude all"
    • Select "Files"
    • Set "All Children" to true
    • Filter values: "Name" "matches" "*~"

Reference: http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Ftasks-97.htm

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