Searching in Eclipse ADT

Index

Searching is one of the most important activities which an ABAPer need to do during development as well as troubleshooting. We may try to search an ABAP Object, a transaction, Where-used-List etc. To be able to effectively use Eclipse ADT for everyday development tasks, it is essential that a developer should be aware of Searching basics in Eclipse and thankfully it is very easy to learn.

There are some variants of search which work differently. Let’s try to understand them one by one:

    1. Object Search: Use Search Ctrl + H for global search. This has the capability to search in either in Workspace or Project.

      SearchCtrl+h
      Ctrl + H global search
    2. Local Code Search: Ctrl + F local search/replace: This search is available in almost every local editor and it is handy with Eclipse development-artifact files to open in the editor also:

      SearchCtrl+f
      Find/Replace dialog

 

  • Where-used-list: Use ABAP’s where-used-list using Ctrl + Shift + G shortcut. To use Where-used-list, the developer needs to put the cursor on the object for which s/he needs to find where-used and then press the shortcut or click the buttonWhere-used button in top button toolbar.

 

  • Navigation: Forward navigation is supported in ADT by Ctrl + Click. There are two types of quick views also supported:
    Outline
    Outline
    • Quick type hierarchy(Ctrl + T): Displays type hierarchy of a class/interface
    • Quick outline(Ctrl + O): Displays internal structure of class/program/interface. The quick outline provides a short overview of Source code. As you can see in this diagram, the source methods are clearly outlined and it makes it very easy to navigate them as and when required.

 

 

 

 

 

 

Index

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s