Skip to content

Commit 51bcc72

Browse files
committed
updated references to videos
1 parent fe3a85c commit 51bcc72

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,26 @@
55

66
<video src="./images/check_result.mp4" controls width="360"></video>
77

8-
98
## Features
109

1110
- **On-save linting**: When you save a c/cpp file, `cppcheck` is automatically run on that file.
1211
- **Per-file diagnostics**: Only diagnostics relevant to the saved file are displayed.
1312
- **Configurable severity threshold**: Filter out messages below a chosen severity level (`info`, `warning`, or `error`).
1413
- **Diagnostic cleanup**: When you close a file, its diagnostics are automatically cleared.
15-
- **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)
16-
![GIF showing where to set up project file](./images/project_file.mp4)
14+
- **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 video below)
15+
16+
<video src="./images/project_file.mp4" controls width="360"></video>
1717
- **Warning notes**: Display notes for warnings when those are available
1818
- **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`.
1919

20-
![GIF showing how to suppress warnings](./images/suppression.mp4)
20+
<video src="./images/suppression.mp4" controls width="360"></video>
2121
## Requirements
2222

2323
**Cppcheck** must be installed on your system.
2424
- By default, this extension looks for `cppcheck` on the system PATH.
2525
- Alternatively, specify a custom executable path using the `cppcheck-official.path` setting.
2626

27-
<video src="./images/cppcheck_path.mp4" controls width="700"></video>
27+
<video src="./images/cppcheck_path.mp4" controls width="360"></video>
2828

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

0 commit comments

Comments
 (0)