Skip to main content
summaryrefslogtreecommitdiffstats
blob: 749cf6411f5f1249b9015c7e37c64c756eaaa3de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Selection Searching for C/C++ elements</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>

<body>

<div role="main"><h1>Selection Searching for C/C++ elements</h1>

<p>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
<a href="../tasks/cdt_t_sd.htm">Setting up include paths and macros for C/C++ indexer</a>.</p>

<p>See <a href="../concepts/cdt_c_search.htm">C/C++ search</a>, for more information on:</p>

<ul>
  <li>What you can search for</li>
  <li>How to limit your search</li>
  <li>How to use wildcard characters in your search</li>
  <li>Syntax examples</li>
</ul>

<p>To search for an element in your project:</p>

<ol>
  <li>Highlight the element you want to search.</li>
  <li>Right click and select <strong>Search For</strong> from the context menu.<br>
  <img src="../images/selection_search.png"  alt="Editor View showing Selection Search options"></li>
  <li>Select <strong>All Declarations</strong> or <strong>All References</strong>.</li>
  <li>Select <strong>Workspace</strong> or <strong>Working Set...</strong>.</li>
  <li>The search results will appear in the Search View<br>
  <strong><img src="../images/searchView.png"  alt="Search View Selection Search options"></strong></li>
  </ol>
<p>For more information, see:
<ul>
<li><strong>Workbench User Guide &gt; Concepts &gt; Views &gt; Search view</strong></li>
<li><strong>Workbench User Guide &gt; Tasks &gt; Navigating and finding resources</strong></li>
</ul>

<p><img src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br>
<a href="../concepts/cdt_c_search.htm">C/C++ search</a><br>
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
<a href="../concepts/cdt_c_open_declarations.htm">Open Declaration</a><br>
</p>
<p><img src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21"><br>
<a href="cdt_t_search.htm">Searching for C/C++ elements</a><br>
<a href="cdt_t_open_declarations.htm">Navigate to C/C++ declarations</a><br>
</p>
<p><img src="../images/ngref.gif" ALT="Related reference" width="143" height="21"><br>
<a href="../reference/cdt_u_search.htm">C/C++ search page, Search dialog box</a></p>
<p>&nbsp;</p>
<img src="../images/ng00_07.gif" ALT="IBM Copyright Statement" >

</div></body>

</html>

Back to the top