Code Monkey home page Code Monkey logo

cppcheck-vs-addin's Introduction

Visual Studio integration add-in for Cppcheck

Build status

Cppcheck is a C and C++ source code static analysis tool.

This plugin integrates Cppcheck into Visual Studio and allows:

  • automatically checking every C / C++ source file upon saving;
  • checking the currently selected project in the Solution Explorer (menu -> Tools -> Check current project);
  • convenient message suppression management with options to suppress specific messages, all messages in a given file, specific message types in a given file, message types globally, solution-wide and project-wide.

Download

Visual Studio 2022 is supported. VS2019, 2017 and 2015 are supported by the older releases.

Get the latest release

NOTE: The add-in does not deploy Cppcheck executable. Please, go to Cppcheck website, download the installer and install it before first use of the add-in. The add-in then may prompt for location of the cppcheck.exe.

Contributors

Should you decide to open, build and debug the project please follow these steps:

Use Visual Studio 2022 - ensure you have the workload for Extension Development installed. All SDKs are referenced as nuget packages and should

  • Press F5 (Debug -> Start Debugging) to have the project built and deployed into "Experimental Instance" of Visual Studio. This should start another ("experimental") instance of Visual Studio of the same version with the addin deployed there.

  • If the project builds fine but "Experimental instance" does not start (you get Visual Studio cannot start debugging because the debug target is missing) message or the wrong Visual Studio version is started do the following:

  • right-click the project in Solution Explorer and get to Properties

  • get to Debug tab

  • next to start external program alter the path so that it points to where the right version of Visual Studio is installed. Path should be something like "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\devenv.exe"

  • In the same window add /rootsuffix Exp to Command line arguments

cppcheck-vs-addin's People

Contributors

violetgiraffe avatar dmitry-me avatar altren avatar jimkeir avatar graemekelly avatar t-johnson avatar playmyskay avatar x29a avatar kinglike1337 avatar quatmax avatar amai2012 avatar icnocop avatar mloskot avatar 2xmax avatar mkurdej avatar lederernc avatar m5knt avatar mrgreywater avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.