By using Eclipse
shortcut (CTRL+Shift+R)
Will show both (src
) files and also (target
) files.
Like that
The problem is that
Some times by mistake
I select the target file then i update my changes
After build i will NOT see the new changes !!
Thats because i update the wrong files (target)
So any idea
How to show only (src
) files not (target
) files by Eclipse shortcut (CTRL+Shift+R) ?
The quick and (dirty way) :
Right click on a target folder
(s)
Go to folder(s) properties,
Mark folder as Derived
like that.
Derived entities are excluded from searching by default like that.
The (safe way) :
By create a working set
That include only those entities you want searched and search only within that working set.
In our case will include ALL without target folder
(s).
Note : This answer is related to
Exclude folders from Eclipse search
In the project-settings on java build-path you'll find on source a checkbox like this:
Disable it, for not getting files which are in the target folder to your view. So you will not find it by Eclipse shortcut (CTRL+Shift+R)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With