Monday, February 27, 2012

Hide the "target" folder in Eclipse IDE

If you are using a development IDE like Eclipse and using Maven to manage your project, then you sure have faced the situation where you edit a class which is inside the target folder instead of the real one.

To avoid having this kind of issues again you have to:

Right-click in target folder ---> Properties ---> Resource ---> Check the Derived option


This option will prevent you from opening a resource (Ctrl + Shift + R) that is inside that folder, but you will still see that folder in the Package Explorer. To hide it you should:



Accept and now every target folder in your Package Explorer won't be shown, but they will still exist in your filesystem.

1 comment: