|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> |
|
2 <html lang="en"> |
|
3 |
|
4 <head> |
|
5 <meta http-equiv="Content-Language" content="en-us"> |
|
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
|
7 <title>Selection Searching for C/C++ elements</title> |
|
8 <link rel="stylesheet" type="text/css" href="../help.css"> |
|
9 </head> |
|
10 |
|
11 <body> |
|
12 |
|
13 <h1>Selection Searching for C/C++ elements</h1> |
|
14 |
|
15 <p>It is recommended that you perform searches on successfully compiled |
|
16 programs to ensure the accuracy of search results. It is important to familiarize yourself with the correct search syntax |
|
17 to use to complete an effective search. It is also important to ensure that |
|
18 include paths and symbols are correctly defined. For more information, see |
|
19 <a href="cdt_t_proj_paths.htm">Including paths and symbols</a>.</p> |
|
20 |
|
21 <p>See <a href="../concepts/cdt_c_search.htm">C/C++ search</a>, for more information on:</p> |
|
22 |
|
23 <ul> |
|
24 <li>What you can search for</li> |
|
25 <li>How to limit your search</li> |
|
26 <li>How to use wildcard characters in your search</li> |
|
27 <li>Syntax examples</li> |
|
28 </ul> |
|
29 |
|
30 <p>To search for an element in your project:</p> |
|
31 |
|
32 <ol> |
|
33 <li>Highlight the element you want to search.</li> |
|
34 <li>Right click and select <b>Search For</b> from the context menu.<br> |
|
35 <img src="../images/selection_search.png" alt="Editor View showing Selection Search options"></li> |
|
36 <li>Select <b>All Declarations</b> or <b>All References</b>.</li> |
|
37 <li>Select <b>Workspace</b> or <b>Working Set...</b>.</li> |
|
38 <li>The search results will appear in the Search View<br> |
|
39 <b><img src="../images/searchView.png" alt="Search View Selection Search options"></li></b> |
|
40 </ol> |
|
41 <p>For more information, see: |
|
42 <li><b>Workbench User Guide > Concepts > Views > Search view</b></li> |
|
43 <li><b>Workbench User Guide > Tasks > Navigating and finding resources</b></li> |
|
44 </ul> |
|
45 |
|
46 <p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> |
|
47 <br> |
|
48 <a href="../concepts/cdt_c_search.htm">C/C++ search</a><br> |
|
49 <a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br> |
|
50 <a href="../concepts/cdt_c_open_declarations.htm">Open Declaration</a><br> |
|
51 </p> |
|
52 <p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21"><br> |
|
53 <a href="cdt_t_search.htm">Searching for C/C++ elements</a><br> |
|
54 <a href="cdt_t_open_declarations.htm">Navigate to C/C++ declarations</a><br> |
|
55 </p> |
|
56 <p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21"><br> |
|
57 <a href="../reference/cdt_u_search.htm">C/C++ search page, Search dialog box</a></p> |
|
58 <p> </p> |
|
59 <img src="../images/ng00_07.gif" ALT="IBM Copyright Statement" > |
|
60 |
|
61 </body> |
|
62 |
|
63 </html> |