开发者

In Eclipse, hide files ending in tilde `~`

开发者 https://www.devze.com 2023-01-21 14:36 出处:网络
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. somefil

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 开发者_如何学JAVAproject.


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'


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

0

精彩评论

暂无评论...
验证码 换一张
取 消