cpplint-vscode is a VS Code extension using the cpplint checker to provide C and C++ code style checker within Visual Studio Code, forked from https://github.com/secularbird/cpplint-extension.
git clone https://github.com/devops-lintflow/cpplint.git
cd cpplint
pip install -U pyinstaller
pyinstaller --clean --name cpplint -F cpplint.py
yarn
vsce package
vsce publish
cpplint.cpplintPath
: set cpplint executable path, path on windows should likeC:\Users\github\devops-lintflow\cpplint\dist\cpplint.exe
cpplint.lintMode
: set cpplint mode, avialable value are single and workspacecpplint.lineLength
: set line length strict, default is 80 characterscpplint.excludes
: set exclude rules, which is related path and shell globbing is preforming, abosluted path is supported right now,Examples: ["one.cc"] ["src/\*.cc"] ["src/\*.cc", "test/\*.cc"]
cpplint.filters
: set filters, only error messages whose category names pass the filters will be printedcpplint.root
: set the root directory used for deriving header guard CPP variablescpplint.repository
: set top level directory of the repository, used to derive the header guard CPP variablecpplint.extensions
: set the allowed file extensions that cpplint will checkcpplint.languages
: set the allowed vscode language identifiers that cpplint will check (Currently only on single file mode)cpplint.headers
: set the allowed header extensions that cpplint will consider to be header filescpplint.verbose
: verbose level, errors with lower verbosity levels have lower confidence and are more likely to be false positives
Project License can be found here.