The Project Explorer and Outline views in Eclipse have a Link with Editor feature that can be very useful. This can be enabled in either view, by clicking the down arrow button in the view and choosing
Link with Editor (see screenshot above).
- If Link with Editor is enabled in Project Explorer: The current file open in the Editor will be highlighted in Project Explorer.
If Link with Editor is enabled in Outline: The class or method at the location of the cursor will be highlighted in Outline.
Tried with: Eclipse 4.4.1 Luna and Ubuntu 14.04