mirror of https://github.com/pmret/papermario.git
add clang-tidy vscode extension
This commit is contained in:
parent
0c318f87ab
commit
1012d8de77
|
@ -2,5 +2,9 @@
|
|||
"recommendations": [
|
||||
"ms-vscode.cpptools",
|
||||
"nanaian.vscode-star-rod",
|
||||
"notskm.clang-tidy",
|
||||
],
|
||||
"unwantedRecommendations": [
|
||||
"llvm-vs-code-extensions.vscode-clangd",
|
||||
],
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
],
|
||||
}
|
||||
|
|
|
@ -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