[add] added vscode

This commit is contained in:
Leroy.H.Y 2019-10-09 15:55:31 +08:00
parent d826a2de15
commit 8e5e8cdfb1
3 changed files with 51 additions and 9 deletions

21
.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,21 @@
{
"configurations": [
{
"name": "Qt-c++",
"includePath": [
"${workspaceFolder}/**",
"/usr/include",
"/usr/include/**",
"/usr/local/include",
"${workspaceFolder}/src/**",
"/home/coder/Qt5.12.5/5.12.5/gcc_64/include",
"/home/coder/Qt5.12.5/5.12.5/gcc_64/include/**",
"/usr/include/linux"
],
"defines": [],
"compilerPath": "/usr/bin/gcc-8",
"intelliSenseMode": "gcc-x64"
}
],
"version": 4
}

27
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,27 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "Qv2ray",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}

12
.vscode/settings.json vendored
View File

@ -1,12 +1,6 @@
{
"files.associations": {
"hash_map": "cpp",
"*.tcc": "cpp",
"deque": "cpp",
"list": "cpp",
"string": "cpp",
"unordered_map": "cpp",
"unordered_set": "cpp",
"vector": "cpp"
}
"qfileinfo": "cpp"
},
"C_Cpp.errorSquiggles": "Disabled"
}