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": [
|
"recommendations": [
|
||||||
"ms-vscode.cpptools",
|
"ms-vscode.cpptools",
|
||||||
"nanaian.vscode-star-rod",
|
"nanaian.vscode-star-rod",
|
||||||
],
|
"notskm.clang-tidy",
|
||||||
|
],
|
||||||
|
"unwantedRecommendations": [
|
||||||
|
"llvm-vs-code-extensions.vscode-clangd",
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,4 +4,12 @@
|
||||||
"files.eol": "\n",
|
"files.eol": "\n",
|
||||||
"files.insertFinalNewline": true,
|
"files.insertFinalNewline": true,
|
||||||
"editor.rulers": [120],
|
"editor.rulers": [120],
|
||||||
|
"clang-tidy.compilerArgs": [
|
||||||
|
"-fno-builtin",
|
||||||
|
"-std=gnu89",
|
||||||
|
"-Iinclude",
|
||||||
|
"-Iinclude/PR",
|
||||||
|
"-Isrc",
|
||||||
|
"-D_LANGUAGE_C",
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
{
|
{
|
||||||
"fileLocation": ["relative", "${workspaceFolder}"],
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
||||||
"pattern": {
|
"pattern": {
|
||||||
"regexp": "^(src\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||||||
"file": 1,
|
"file": 1,
|
||||||
"line": 2,
|
"line": 2,
|
||||||
"severity": 3,
|
"severity": 3,
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
"fileLocation": ["relative", "${workspaceFolder}"],
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
||||||
"severity": "error",
|
"severity": "error",
|
||||||
"pattern": {
|
"pattern": {
|
||||||
"regexp": "^(src\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
|
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
|
||||||
"file": 1,
|
"file": 1,
|
||||||
"line": 2,
|
"line": 2,
|
||||||
"message": 3,
|
"message": 3,
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
"activeOnStart": true,
|
"activeOnStart": true,
|
||||||
},
|
},
|
||||||
"pattern": {
|
"pattern": {
|
||||||
"regexp": "^(src\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||||||
"file": 1,
|
"file": 1,
|
||||||
"line": 2,
|
"line": 2,
|
||||||
"severity": 3,
|
"severity": 3,
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
},
|
},
|
||||||
"severity": "error",
|
"severity": "error",
|
||||||
"pattern": {
|
"pattern": {
|
||||||
"regexp": "^(src\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
|
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
|
||||||
"file": 1,
|
"file": 1,
|
||||||
"line": 2,
|
"line": 2,
|
||||||
"message": 3,
|
"message": 3,
|
||||||
|
|
Loading…
Reference in New Issue