Selection Searching for C/C++ elements

It is recommended that you perform searches on successfully compiled programs to ensure the accuracy of search results. It is important to familiarize yourself with the correct search syntax to use to complete an effective search. It is also important to ensure that include paths and symbols are correctly defined. For more information, see Including paths and symbols.

See C/C++ search, for more information on:

To search for an element in your project:

  1. Highlight the element you want to search.
  2. Right click and select Search For from the context menu.
    Editor View showing Selection Search options
  3. Select All Declarations or All References.
  4. Select Workspace or Working Set....
  5. The search results will appear in the Search View
    Search View Selection Search options

For more information, see:

  • Workbench User Guide > Concepts > Views > Search view
  • Workbench User Guide > Tasks > Navigating and finding resources
  • Related concepts
    C/C++ search
    CDT Projects
    Open Declarations
    Open Definitions

    Related tasks
    Searching for C/C++ elements
    Navigate to C/C++ declarations
    Navigate to C/C++ definitions

    Related reference
    C/C++ search page, Search dialog box

     

    IBM Copyright Statement