mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
add clang-tidy vscode extension
This commit is contained in:
parent
0c318f87ab
commit
1012d8de77
6
.vscode/extensions.json
vendored
6
.vscode/extensions.json
vendored
@ -2,5 +2,9 @@
|
||||
"recommendations": [
|
||||
"ms-vscode.cpptools",
|
||||
"nanaian.vscode-star-rod",
|
||||
],
|
||||
"notskm.clang-tidy",
|
||||
],
|
||||
"unwantedRecommendations": [
|
||||
"llvm-vs-code-extensions.vscode-clangd",
|
||||
],
|
||||
}
|
||||
|
8
.vscode/settings.json
vendored
8
.vscode/settings.json
vendored
@ -4,4 +4,12 @@
|
||||
"files.eol": "\n",
|
||||
"files.insertFinalNewline": true,
|
||||
"editor.rulers": [120],
|
||||
"clang-tidy.compilerArgs": [
|
||||
"-fno-builtin",
|
||||
"-std=gnu89",
|
||||
"-Iinclude",
|
||||
"-Iinclude/PR",
|
||||
"-Isrc",
|
||||
"-D_LANGUAGE_C",
|
||||
],
|
||||
}
|
||||
|
8
.vscode/tasks.json
vendored
8
.vscode/tasks.json
vendored
@ -9,7 +9,7 @@
|
||||
{
|
||||
"fileLocation": ["relative", "${workspaceFolder}"],
|
||||
"pattern": {
|
||||
"regexp": "^(src\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||||
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"severity": 3,
|
||||
@ -20,7 +20,7 @@
|
||||
"fileLocation": ["relative", "${workspaceFolder}"],
|
||||
"severity": "error",
|
||||
"pattern": {
|
||||
"regexp": "^(src\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
|
||||
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"message": 3,
|
||||
@ -44,7 +44,7 @@
|
||||
"activeOnStart": true,
|
||||
},
|
||||
"pattern": {
|
||||
"regexp": "^(src\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||||
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"severity": 3,
|
||||
@ -58,7 +58,7 @@
|
||||
},
|
||||
"severity": "error",
|
||||
"pattern": {
|
||||
"regexp": "^(src\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
|
||||
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"message": 3,
|
||||
|
Loading…
Reference in New Issue
Block a user