Eclipse Tip: Mark Occurrences


Eclipse has a feature to visually see all occurrences of a method, variable or method exit points. Use the mark occurrences icon shown on the left to toggle this feature. Once enabled select a method or variable. Eclipse will highlight all occurrences of this in the current file. Select a return type to highlight all the exit points of a method.