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.