C/C++ Advanced Lint for VS CodeA Visual Studio Code extension supporting a number of static code analyzers for C and C++ code. Features
Supported Static AnalyzersRequirementsAt least one of the above static code analyzers must be installed on your machine(s). The extension should support any versions of the listed static code
analyzers; and will attempt to locate them within your If a tool is not automatically found, the appropriate
Debian & UbuntuClang is available via
CppCheck is available via
Flexelint is commercial software; however, it may be obtained from the URL mentioned elsewhere in this documentation. PC-lint and PC-lint Plus are commercial software; however, they may be obtained from the URL mentioned elsewhere in this documentation. FlawFinder is available via
lizard is available via
macOSFor macOS users, Clang is already included when Xcode and its' CLI tools are installed. For macOS users, CppCheck can most easily be installed through Homebrew.
Flexelint is commercial software; however, it may be obtained from the URL mentioned elsewhere in this documentation. PC-lint and PC-lint Plus are commercial software; however, they may be obtained from the URL mentioned elsewhere in this documentation. WindowsWindows users may download and install the static code analyzers from the listed URLs mentioned elsewhere in this documentation. If PC-lint has been installed, be certain to use the UsageOnce all requirements are met, the extension may be installed through one of the available marketplaces: After the extension is installed, one must then decide on how to best
implement the necessary configuration changes to best meet their project
and/or environment needs. For instance, would Once an above choice is made, open the appropriate configuration window. See VSCode documentation for help on accessing user, workspace, and project configuration windows. It is then recommended to narrow in to the extension's configuration; to view, and decide upon each and every setting. Start with enabling the linters desired and disabling those not, along with mapping any necessary build/compiler flags, as needed by most of the linters.
SecurityThis extension runs a few third-party command-line tools found from the
locations determined by the Configuration SettingsDue to the large quantity of configuration options -- in tandem with the ever growing number of supported static code analyzers -- all configuration options are not documented here. However, every configuration option is well documented within File -> Preferences -> Settings [alternatively, one of the keybindings: Command+, or Ctrl+,]. Development Setup
Developing the Server
Developing the Extension/Client
Project detailsBoth the source code and issue tracker are hosted at GitHub. For support purposes, please visit the above URL and select from the Issue and/or Pull Request areas. LicenseCopyright (C) 2017-2022 The VSCode C/C++ Flylint Authors. Licensed under the MIT License. We check with support for the REUSE specification! |