mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
44 lines
1.7 KiB
HTML
44 lines
1.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="en-us">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>Searching External Files</title>
|
|
<link rel="stylesheet" type="text/css" href="../help.css">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Searching External Files</h1>
|
|
|
|
<p>C/C++ search, by default, will only search your workspace.
|
|
If you wish to search external files that are included by files in your workspace but don’t reside in your workspace,
|
|
you must enable external search markers.</p>
|
|
<p><img src="../images/search_pref.png" alt="C/C++ Search Preferences"></p>
|
|
To do this:
|
|
<ol>
|
|
<li>Click <b>Windows > Preferences > C/C++ > Search</b></li>
|
|
<li>Select the <b>Enable external search markers</b> checkbox.</li>
|
|
<li>Click <b>OK</b></li>
|
|
</ol></p>
|
|
|
|
|
|
<p>When a match in an external file is now found, it will be linked into your project and you will be able to open the match from the search pane as usual.</p>
|
|
|
|
<p>When a project is closed, or the workbench is shutdown the links are removed. </p>
|
|
|
|
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
|
<br><a href="../concepts/cdt_c_search_ext.htm">Searching External Files</a>
|
|
<br><a href="../concepts/cdt_c_search.htm">C/C++ search</a></p>
|
|
|
|
|
|
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
|
<br><a href="../reference/cdt_u_search_pref.htm">Search, C/C++ Preferences window</a>
|
|
<br><a href="../reference/cdt_u_search.htm">C/C++ search page, Search dialog box</a></p>
|
|
<p> </p>
|
|
<img src="../images/ng03_04.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14">
|
|
|
|
</body>
|
|
|
|
</html>
|