Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to hide files from package explorer

Hi all I am developing a plugin where i m creating project through my own wizard. I have used javaElementFilters to hide my file named device-configs.xml. It only works with eclipse helios sdk versions.

Can anyone suggest me better way to hide file? Or other extension point that can work in all eclipse versions of 3.6 & also in MyEclipse also?

like image 366
Rj71439 Avatar asked Mar 07 '11 10:03

Rj71439


2 Answers

  1. Make sure that you have Package Explorer opened

  2. Select View Menu on the top of the Package Explorer view Package Explorer View Menu

  3. Select filters Filters

  4. Enter your pattern and click OK

Filename pattern

Files should be hidden.

like image 61
Dima Avatar answered Sep 23 '22 19:09

Dima


Right click on the project, then go Properties, then Resource > Resource Filters and add a exclude filter.

like image 29
erikvold Avatar answered Sep 23 '22 19:09

erikvold