转:Eclipse Search Tips

from:  https://github.com/ajermakovics/eclipse-instasearch/wiki/Eclipse-search-tips

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
posted @ 2016-12-24 10:40  跬步者  阅读(199)  评论(0编辑  收藏  举报