DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • Creating Customized and Bootable Disk Images of Host Systems
  • Building a MongoDB-Powered RESTful Application With Quarkus and Eclipse JNoSQL
  • Eclipse JNoSQL 1.0.0: Streamlining Java and NoSQL Integration With New Features and Bug Fixes
  • SeaweedFS vs. JuiceFS Design and Features

Trending

  • Designing Databases for Distributed Systems
  • How to Submit a Post to DZone
  • Revolutionizing Software Testing
  • DZone's Article Submission Guidelines
  1. DZone
  2. Coding
  3. Frameworks
  4. Eclipse Project Explorer Filters

Eclipse Project Explorer Filters

Erich Styger user avatar by
Erich Styger
·
May. 22, 15 · Interview
Like (0)
Save
Tweet
Share
6.14K Views

Join the DZone community and get the full member experience.

Join For Free

Wondering why the Eclipse Project view might not show all files in the Project Explorer view? For example it shows this:

Eclipse Project Explorer View

Eclipse Project Explorer View

But on disk I have more files? Where are they?

:idea: I’m using Eclipse Luna (4.4) in this post, but things are very similar for earlier versions of Eclipse.

File System has more Files?

Checking the files on my file system (e.g. with the Windows Explorer), I have more files/folders listed:

Files on the File System

Files on the File System

Obviously, files and folders starting with a dot (‘.’) are not shown in the Project Explorer view.

Project View Filters

The reason is that the Eclipse Project Explorer view has a filter built-in to hide files. There is a setting for this in the View Menu of that view:

Project Explorer View Menu

Project Explorer View Menu

There is a ‘Customize View…‘ menu item:

Customize Project Explorer View

Customize Project Explorer View

And here I have the filters:

Customize Project Explorer View

Customize Project Explorer View

Now it should be clear why the files starting with a dot are ont shown: they are filtered out with the filter for “.*”:

Project Explorer View Filters

Project Explorer View Filters

Un-checking that filter will show now as well the dot files:

Showing Dot Files in Project Explorer View

Showing Dot Files in Project Explorer View

Defining my own Filters

The list of filters in the project view is provided by the plugins. And unfortunately there is no way to define my own filters in the above dialog, unless I would implement my Java plugin. Defining my own filters without programming things is possible, it is just in a different place:-).

For example I do not want to see that ‘ProjectInfo.xml’. For this, I select the project and use the ‘Properties’ menu. Inside the project properties, there is Resource > Resource Filters:

Resource Filters

Resource Filters

Use the Add button to add a new filter:

Adding Filter

Adding Filter

To exclude just the ProjectInfo.xml:

  1. Exclude all (this will exclude all files matching my filter)
  2. Applies to Files (I only want to have it applied to files)
  3. [Name] [matches] the file name
Excluding Files

Excluding Files

With that, I can build any kind of filters.

Pressing OK, and it gets added to my filter list:

Added Filter

Added Filter

Now the ProjectInfo.xml is not listed any more in the Project Explorer view:

Filtered ProjectView.xml

Filtered ProjectView.xml

Summary

The Eclipse Project Explorer view has a setting to turn on/off filters for files/folders, or in general to configure the view. I can use project resource filters to define my own filters too.

Happy Filtering :-)

Filter (software) Eclipse File system

Published at DZone with permission of Erich Styger, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Creating Customized and Bootable Disk Images of Host Systems
  • Building a MongoDB-Powered RESTful Application With Quarkus and Eclipse JNoSQL
  • Eclipse JNoSQL 1.0.0: Streamlining Java and NoSQL Integration With New Features and Bug Fixes
  • SeaweedFS vs. JuiceFS Design and Features

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: