Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide src folder from Eclipse Project Explorer?

I use a maven standard directory layout for my projects.

The image Below is a typical project explorer view of a "not so minimum working example" of the view I want to customize.

My typical project explorer view layout

As you can see, all the relevant folders are marked as source folders, so there is no need to show the src folder hierarchy as it is shown below the included libraries.

So the question is, how can I get rid of the redundant src folder showing, i.e. how to show only source folders and libraries?

I've playing around with filters and content configuration of the view but couldn't find the way to do it.

like image 636
mamuso Avatar asked Jan 21 '13 11:01

mamuso


People also ask

How do I show hidden files in Eclipse Project Explorer?

On Mac: Eclipse -> Preferences -> Remote Systems -> Files -> click Show Hidden Files. Show activity on this post. In your package explorer, pull down the menu and select "Filters ...". You can adjust what types of files are shown/hidden there.

How do I organize Project Explorer in Eclipse?

The key to make it organized is to open the Package Explorer's View Menu again and enable Top Level Elements > Working Sets. Then the projects are grouped by working set visually in the package explorer.

Can we hide project in Eclipse?

You may want to Hide all those closed projects from your workspace in Project Explorer tab. Simply follow following steps and do this is few seconds! Step 1: Click on right corner of Project Explorer tab and open context menu. Select Filters option from menu.


1 Answers

Click to the third right top button, then "Filters" and then check "Name filter patterns" and write "src". Then the second src folder is hidden.

like image 118
Andreas B. Avatar answered Oct 04 '22 11:10

Andreas B.