1
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head>
|
|
2 |
<title>Running CodeScanner within Carbide</title>
|
|
3 |
<link rel="StyleSheet" href="../book.css" type="text/css"/>
|
|
4 |
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
|
|
5 |
<style type="text/css">
|
|
6 |
<!--
|
|
7 |
.style2 {
|
|
8 |
color: #FF0000;
|
|
9 |
font-weight: bold;
|
|
10 |
}
|
|
11 |
-->
|
|
12 |
</style>
|
|
13 |
</head>
|
|
14 |
<body>
|
|
15 |
<div class="Head1">
|
|
16 |
<h2>Running CodeScanner within Carbide </h2>
|
|
17 |
</div>
|
|
18 |
<p>CodeScanner is run as a plugin within Carbide.c++. The results of the scan are directed to the
|
|
19 |
Console and Problems views, which provides quick access to the offending code in the source file. CodeScanner can be invoked from the menubar or a context menu. </p>
|
|
20 |
<div class="step">
|
|
21 |
<h4>Running CodeScanner on a project directory</h4>
|
|
22 |
<ol>
|
|
23 |
<li>Select a project resource (project, folder, or file) in a view <br />
|
|
24 |
<p>You can select a resource in one of the following views: C/C++ Project, Navigator, Project Explorer, or Symbian Project Navigator.</p>
|
|
25 |
</li>
|
|
26 |
<li>Click the Project > Run CodeScanner menu item<br />
|
|
27 |
<p>CodeScanner scans the project associated with the selected resource using the process explained in <a href="run_cs.htm">Running CodeScanner</a> as determined by the resource type. </p>
|
|
28 |
</li>
|
|
29 |
</ol>
|
|
30 |
<blockquote>
|
|
31 |
<p align="center"><img src="images/menu_run_codescanner.png" width="317" height="306" alt="" /></p>
|
|
32 |
<p align="center" class="figure">Figure 1. Run CodeScanner from the Project menu </p>
|
|
33 |
</blockquote>
|
|
34 |
</div>
|
|
35 |
<div class="step">
|
|
36 |
<h4>Running CodeScanner on a single source file </h4>
|
|
37 |
<ol>
|
|
38 |
<li>Right-click a project file in a view</li>
|
|
39 |
<li>Choose Run CodeScanner from the context menu<br />
|
|
40 |
<p>CodeScanner scans the selected file using the process explained in <a href="run_cs.htm">Running CodeScanner</a> as determined by the file type.</p>
|
|
41 |
</li>
|
|
42 |
</ol>
|
|
43 |
</div>
|
|
44 |
<p><b>Related references </b> </p>
|
|
45 |
<ul>
|
|
46 |
<li><a href="run_cs.htm">Running CodeScanner </a></li>
|
|
47 |
</ul>
|
|
48 |
<div id="footer">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
|
|
49 |
</body>
|
|
50 |
</html>
|
|
51 |
|