You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
## Installation
6
6
7
-
[checkpatch.pl](https://github.com/torvalds/linux/blob/master/scripts/checkpatch.pl) script should be installed on your machine. It should be either exposed through $PATH or
7
+
[checkpatch.pl](https://github.com/torvalds/linux/blob/master/scripts/checkpatch.pl) script should be either exposed through $PATH or
8
8
pointed out by the `checkpatch.checkpatchPath` configuration.
9
9
10
10
### Linux / [WSL Remote Development](https://code.visualstudio.com/docs/remote/wsl)
Additionally, a perl interpreter should also be installed - tested with [ActivePerl Community Edition](https://www.activestate.com/products/activeperl/downloads/).
25
+
On windows, a perl interpreter should also be installed - tested with [ActivePerl Community Edition](https://www.activestate.com/products/activeperl/downloads/).
26
26
*.pl files should be configured to be opened by the interpreter by default (double click on any *.pl file and choose ActivePerl as the default program).
27
27
GNU 'diff' executable should also be available (can be done by installing [git-for-windows](https://git-scm.com/download/win) and adding it to PATH).
28
28
29
29
## Commands
30
30
*`checkpatch.checkFile` Check selected file (if the run mode is manual)
31
31
*`checkpatch.checkCommit` Select specific commit to be tested
32
-
*`checkpatch.toggleAutoRun` Toggle checkpatch for the current workspace
32
+
*`checkpatch.toggleAutoRun` Toggle automatic checkpatch for the current workspace
33
33
34
34
## settings.json
35
-
*`checkpatch.checkpatchArgs` let you add arguments such as `--ignore BLOCK_COMMENT_STYLE`, `--max-line-length=120`
36
-
*`checkpatch.run` control whether the linting is automatic or manually triggered using the `checkpatch.checkFile` command.
35
+
*`checkpatch.checkpatchPath` path to the checkpatch.pl script
36
+
*`checkpatch.checkpatchArgs` checkpatch arguments to use
37
+
*`checkpatch.run` control whether the linting is automatic on save or manually triggered using the `checkpatch.checkFile` command.
38
+
*`checkpatch.exclude` Glob patterns for excluding files and folders from automatic checks.
0 commit comments