Life of the IT-Drummer

A web log from Tobias Rusås Olsen.

Cool trick in Eclipse IDE -> Go into.

I’ve been using Eclipse for some time now, but just recently discovered this trick by accident.

This trick concerns views like Navigator or Package Explorer. If you have lots of projects, it might be annyoing to have open projects over and under the package you’re working in. You can of course use the “close all unrelated projects”-function to close them, but that’s hard to remember, and it costs you resources to close and reopen them (but by all means, do it when you remember it!)

When you know what package you will be working on, you can simple choose that package by using the “Step into” function located right below “new” as the second alternative when you right click on a package. This is like moving into that folder, and it hides everything outside that package. Neat!

If you want to go back to “every project”, press the back-button on the top.

The “Link with editor” is also a great function. When this is “on”, and you press a tab, it will also be selected in the tree-structure. (Thanks to JosteinB for this tip)

Before:

Eclipse IDE before using the \"going into\" function

After:

Eclipse IDE after using the \"going into\" function

The link with editor-button:

Eclipse IDE - link with editor

RSS 2.0 | Trackback | Comment

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">