chore: add vscode config files

This commit is contained in:
Liu Chao
2018-05-05 13:36:08 +08:00
parent 0416c421f0
commit 460d570c28
2 changed files with 53 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
{
"configurations": [
{
"name": "Linux",
"intelliSenseMode": "clang-x64",
"includePath": [
"${workspaceRoot}/include",
"/usr/include/x86_64-linux-gnu",
"/usr/include/linux",
"/usr/local/include"
],
"browse": {
"path": [
"${workspaceRoot}",
"${workspaceRoot}/include",
"/usr/include/x86_64-linux-gnu",
"/usr/include/linux",
"/usr/local/include"
]
},
"compilerPath": "/usr/bin/clang",
"cStandard": "c11",
"cppStandard": "c++17"
}
],
"version": 3
}
+26
View File
@@ -0,0 +1,26 @@
{
"editor.formatOnSave": true,
"editor.rulers": [
78,
80
],
"files.exclude": {
"**/*.lo": true,
"**/*.o": true,
"**/*.gcno": true
},
"[c]": {
"editor.tabSize": 8,
"editor.insertSpaces": false
},
"[cpp]": {
"editor.tabSize": 8,
"editor.insertSpaces": false
},
"files.associations": {
"unistd.h": "c",
"errno.h": "c",
"fcntl.h": "c",
"metrics.h": "c"
}
}