{"id":20277379,"url":"https://github.com/bitjson/cppcheck-extension","last_synced_at":"2025-04-11T05:43:38.210Z","repository":{"id":69519709,"uuid":"89644401","full_name":"bitjson/cppcheck-extension","owner":"bitjson","description":"Runs the cppcheck static code analyzer from vscode","archived":false,"fork":false,"pushed_at":"2017-04-27T22:48:32.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T03:42:04.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitjson.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-27T22:11:03.000Z","updated_at":"2018-11-06T01:33:54.000Z","dependencies_parsed_at":"2023-02-26T05:00:47.124Z","dependency_job_id":null,"html_url":"https://github.com/bitjson/cppcheck-extension","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitjson%2Fcppcheck-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitjson%2Fcppcheck-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitjson%2Fcppcheck-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitjson%2Fcppcheck-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitjson","download_url":"https://codeload.github.com/bitjson/cppcheck-extension/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351449,"owners_count":21089270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T13:18:12.539Z","updated_at":"2025-04-11T05:43:38.200Z","avatar_url":"https://github.com/bitjson.png","language":"TypeScript","readme":"# cppcheck README\n\nThis extension utilizes the cppcheck static code analyzer to provide C and C++ code analysis within Visual Studio Code.\n\n## Features\n\n- Run cppcheck for a single file.\n- Run cppcheck for the entire workspace.\n- On the fly linting within the code editor.\n\n![cppcheck linting](https://raw.githubusercontent.com/matthewferreira/cppcheck-extension/master/example.png)\n\n## Requirements\n\nCppcheck must be installed. Any version may be used. The extension will try to locate the `cppcheck` executable if possible. On Windows, it will search\nthe 32-bit Program Files directory. On Linux and macOS, several bin directories will be searched.\n\nIf `cppcheck` is not found, `cppcheck.cppcheckPath` must be set to the correct location of the executable.\n\n### Windows Installation\n\nCppcheck is available for download at [`cppcheck.sourceforge.net`](http://cppcheck.sourceforge.net/).\n\n### Ubuntu Installation\n\nFor Ubuntu users, Cppcheck is available via `apt-get`.\n\n```sh\nsudo apt-get install cppcheck\n```\n\n### macOS Installation\n\nFor macOS users, Cppcheck can most easily be installed using [Homebrew](https://brew.sh/).\n\n```sh\nbrew install cppcheck\n```\n\n## Extension Settings\n\n* `cppcheck.enable`: Enable/disable the analyzer.\n* `cppcheck.cppcheckPath`: The path to the cppcheck executable.\n* `cppcheck.includePaths`: The paths to any include directories.\n* `cppcheck.platform`: The compilation platform. This determines data types and sizes (e.g. sizeof(int)).\n* `cppcheck.standard`: The language standard to use (e.g. c++11).\n* `cppcheck.define`: Symbols to define for the preprocessor.\n* `cppcheck.undefine`: Symbols to undefine for the preprocessor.\n* `cppcheck.suppressions`: Any cppcheck rules to suppress (see the cppcheck manual).\n* `cppcheck.verbose`: Enable verbose output from cppcheck.\n* `cppcheck.showStatusBarItem`: Show/hide the status bar item for displaying analyzer commands.\n* `cppcheck.lintingEnabled`: Whether to enable automatic linting for C/C++ code. Linting runs on workspace changes and file saves.\n\n## Release Notes\n\n### 0.0.4\n\n- Added linting directly to the code editor.\n- Linting is listed in the Problems view for all files in the workspace.\n\n### 0.0.3\n\n- Added a new setting to automatically show the output channel after running cppcheck (true by default).\n- Fix for issue #1 (Doesn't do anything).\n\n### 0.0.2\n\n- Updated to use the logo from cppcheck (as generously provided by Daniel Marjamäki), instead of blue on white.\n- Added links to the cppcheck website and manual.\n- Added a command for opening the cppcheck manual on the web.\n\n### 0.0.1\n\n- Initial release of cppcheck extension.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitjson%2Fcppcheck-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitjson%2Fcppcheck-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitjson%2Fcppcheck-extension/lists"}