Skip to content

Commit fe3a85c

Browse files
committed
replaced gifs with mp4s due to file size
1 parent d38eabf commit fe3a85c

9 files changed

Lines changed: 5 additions & 4 deletions

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
**Cppcheck Official** is a Visual Studio Code extension that runs [cppcheck](https://cppcheck.sourceforge.io/) against C/C++ files upon save and reports any warnings or errors in the Problems panel.
55

6-
![GIF showing example of warnings output from cppcheck](./images/check_result.gif)
6+
<video src="./images/check_result.mp4" controls width="360"></video>
7+
78

89
## Features
910

@@ -12,18 +13,18 @@
1213
- **Configurable severity threshold**: Filter out messages below a chosen severity level (`info`, `warning`, or `error`).
1314
- **Diagnostic cleanup**: When you close a file, its diagnostics are automatically cleared.
1415
- **Project file support**: You can feed your project file to cppcheck through the `--project` flag in the `cppcheck-official.arguments` field in the extension settings. (See GIF below)
15-
![GIF showing where to set up project file](./images/project_file.gif)
16+
![GIF showing where to set up project file](./images/project_file.mp4)
1617
- **Warning notes**: Display notes for warnings when those are available
1718
- **Dynamic config**: The extension supports running a script to generate arguments to pass to cppcheck. This can be done by including the command in the argument field wrapped with \${}, e.g. `--suppress=memleak:src/file1.cpp ${bash path/to/script.sh}`. The script is expected to output the argument(s) wrapped with \${}. If the script e.g. creates a project file it should print out as `${--project=path/to/projectfile.json}`. This output will be spliced into the argument string as such: `--suppress=memleak:src/file1.cpp --project=path/to/projectfile.json`.
1819

19-
![GIF showing how to suppress warnings](./images/suppression.gif)
20+
![GIF showing how to suppress warnings](./images/suppression.mp4)
2021
## Requirements
2122

2223
**Cppcheck** must be installed on your system.
2324
- By default, this extension looks for `cppcheck` on the system PATH.
2425
- Alternatively, specify a custom executable path using the `cppcheck-official.path` setting.
2526

26-
![GIF showing location of path setting](./images/cppcheck_path.gif)
27+
<video src="./images/cppcheck_path.mp4" controls width="700"></video>
2728

2829
Examples of installing Cppcheck:
2930
- On Linux (Debian/Ubuntu), install via `sudo apt-get install cppcheck`.

images/check_result.gif

-24 MB
Binary file not shown.

images/check_result.mp4

1.67 MB
Binary file not shown.

images/cppcheck_path.gif

-7.5 MB
Binary file not shown.

images/cppcheck_path.mp4

622 KB
Binary file not shown.

images/project_file.gif

-7.26 MB
Binary file not shown.

images/project_file.mp4

718 KB
Binary file not shown.

images/suppression.gif

-19.6 MB
Binary file not shown.

images/suppression.mp4

1.19 MB
Binary file not shown.

0 commit comments

Comments
 (0)