Eclipse Tip: Show source for selected items only

Some times I like to see the source code only for the method I am currently working on. Eclipse has a neat feature to enable this. I just have to put the cursor on the method I am working on and I click on the ‘Show source for selected items only’ button on the tool bar. This will hide all the other elements on the file. To see a different method just click on it in the outline view.

Vasanth Dharmaraj is a Java Architect currently working for Western Union living in the Bay Area. He is interested in programming, gadgets, formula one... You can follow him on Twitter.

Posted in Eclipse, Java

Ads By Google