Eclipse Gems, Tips & Tricks: Project Filter

This article is part of a ‘mini series’ about hidden gems, tips and tricks around Eclipse.
The topic of this one is how to use filters in the Project Explorer view.

Filter Icon

Filter Icon

The ‘filter’ function has an icon in the Project Explorer view. Using filters the view can use pre-set filters, custom filters or filter by content.

What I’m using most of the time is to disable the ‘.*’ filter which filters all files starting with a dot: that way I can directly edit the project or .gitignore files:

Filter Settings

Filter Settings

💡 Be careful with editing .cproject or .cproject: If this is really needed (for example https://mcuoneclipse.com/2020/06/07/behind-the-canvas-making-of-60-billion-lights/) then have the project closed and do this with a text editor outside Eclipse.

The other setting I use most of the time is to filter closed projects. That way I ‘see what I want’. Do not forget to check the filter settings if you miss something in the view.

Happy Filtering 🙂

Links