Rj71439
Rj71439

Reputation: 131

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?

Upvotes: 8

Views: 7520

Answers (3)

Dima
Dima

Reputation: 1828

  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.

Upvotes: 14

erikvold
erikvold

Reputation: 16508

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

Upvotes: 8

Prakash G. R.
Prakash G. R.

Reputation: 4892

The javaElementFilters work only in the Views supplied by JDT and it should work in all the versions. What do you mean by "only works with eclipse helios sdk versions"?

Upvotes: 1

Related Questions