How to show only (src) files (target) files using the Eclipse shortcut (cntrl + alt + R)?

Using the Eclipse Shortcut ( CTRL + Shift + R )
Will show both files ( src ), as well as files ( target ).
Like this enter image description here

The problem is that several times in error
I select the target file and then update my changes
After assembly, I will NOT see new changes!
This is because I am updating the wrong files (target)

So any idea
How to show only ( src ) files not ( target ) files using the Eclipse shortcut ( CTRL + Shift + R )?

+4
source share
2 answers

Quick and (dirty way):

Right click on target folder (s)
Go to the properties folder,
Mark the folder as Derived . enter image description here Derived objects are excluded from the default search. enter image description here

(safe way):

By creating a working set
enter image description here These include only those objects that you want to search and search only within this working set.
In our case, ALL will be without target folder (s).

Note. This answer applies to Exclude folders from Eclipse search

+4
source

In the project settings on the java build path, you will find a check box in the source field, for example:

enter image description here

Disable it so that you don’t get the files in the target folder in your view. So you wont find it on the Eclipse shortcut ( CTRL + Shift + R )

+1
source

Source: https://habr.com/ru/post/1498372/


All Articles