Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Eclipse search tips

ajermakovics edited this page May 13, 2012 · 2 revisions

Eclipse Search Tips

A few search shortcuts:

  • Ctrl+J - Incremental Find in the current file. Pressing again takes to next match
  • Ctrl+O - Quick Outline for the current class. Quickly find a method/field by name
  • Ctrl+T - Type Hierarchy. Works for classes and methods as well
  • Ctrl+E - Find an open tab by name
  • Ctrl+Alt+H - Call Hierarchy. Works for classes, methods and fields
  • Ctrl+Shift+T - Open Type. Quickly find any type by name (Ctrl+Shift+R for resources) Camel case search works here. eg. type HM or HaMa to find HashMap

Search result highlighting in the editor:

  1. Open Eclipse Preferences
  2. Go to General->Editors->Text Editors->Annotations
  3. Select Search Results from Annotation types
  4. Mark all checkboxes and, optionally, choose color

Screenshot

Clone this wiki locally