Configuring for cpplint.py analysis

Configuring Visual Lint for use with the Google C++ Style Checker (cpplint.py) is quite straightforward.

 

Step 1: Run the Configuration Wizard

The Configuration Wizard can be invoked from the Configuration Wizard command on the Visual Lint toolbar. When run, it will guide you through the process of configuring Visual Lint for use with supported analysis tools:

graphic

 

Step 2: Select the analysis tool you wish to configure

The Analysis Tools page allows you to select which analysis tool to configure:

graphic

 

Step 3: Select your cpplint.py installation folder

The Select Analysis Tool Installation Folder page will guide you through downloading cpplint.py (if required) and locate the cpplint.py installation folder:

graphic

Once set, this path is recorded in the registry for subsequent use.

cpplint.py is implemented as a Python script, and requires Python 2.x to be installed to run. If a Python installation is not detected, Visual Lint will prompt you to download it.

 

Step 3: Save the changes

Once your cpplint.py installation has been located, proceeding through the Completion page will save the changes, whereupon cpplint.py will become available for analysis purposes.

graphic

 

It should be noted that the Configuration Wizard is not the only way to configure Visual Lint, as it is also possible to configure it manually via the Visual Lint Options command on the toolbar or (where available) the "Tools" menu.



Copyright © 2004 - 2015 by Riverblade Ltd. All rights reserved.