## Running CodeScanner within Carbide

CodeScanner is run as a plugin within Carbide.c++. The results of the scan are directed to the 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.

#### Running CodeScanner on a project directory

1. Select a project resource (project, folder, or file) in a view

   You can select a resource in one of the following views: C/C++ Project, Navigator, Project Explorer, or Symbian Project Navigator.

2. Click the Project > Run CodeScanner menu item

   CodeScanner scans the project associated with the selected resource using the process explained in Running CodeScanner as determined by the resource type.

> Figure 1. Run CodeScanner from the Project menu

#### Running CodeScanner on a single source file

1. Right-click a project file in a view
2. Choose Run CodeScanner from the context menu

   CodeScanner scans the selected file using the process explained in Running CodeScanner as determined by the file type.

Related references

- Running CodeScanner