添加.vscode配置
This commit is contained in:
parent
6b4373f3c0
commit
88fc8776b5
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Win32",
|
||||
"includePath": [
|
||||
"${workspaceRoot}",
|
||||
"D:/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/c++",
|
||||
"D:/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/c++/x86_64-w64-mingw32",
|
||||
"D:/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/c++/backward",
|
||||
"D:/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include",
|
||||
"D:/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/c++/tr1",
|
||||
"D:/mingw64/x86_64-w64-mingw32/include"
|
||||
],
|
||||
"defines": [
|
||||
"_DEBUG",
|
||||
"UNICODE",
|
||||
"__GNUC__=6",
|
||||
"__cdecl=__attribute__((__cdecl__))"
|
||||
],
|
||||
"intelliSenseMode": "gcc-x64",
|
||||
"browse": {
|
||||
"path": [
|
||||
"${workspaceRoot}",
|
||||
"D:/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/c++",
|
||||
"D:/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/c++/x86_64-w64-mingw32",
|
||||
"D:/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/c++/backward",
|
||||
"D:/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include",
|
||||
"D:/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/c++/tr1",
|
||||
"D:/mingw64/x86_64-w64-mingw32/include"
|
||||
]
|
||||
},
|
||||
"limitSymbolsToIncludedHeaders": true,
|
||||
"databaseFilename": "",
|
||||
"compilerPath": "D:/mingw64/bin/gcc.exe",
|
||||
"cStandard": "c11",
|
||||
"cppStandard": "c++11"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "C++ Launch (GDB)",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"targetArchitecture": "x86",
|
||||
"program": "${workspaceRoot}\\${fileBasename}.exe",
|
||||
"miDebuggerPath":"D:\\mingw64\\bin\\gdb.exe",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceRoot}",
|
||||
"externalConsole": true,
|
||||
"preLaunchTask": "g++"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"files.associations": {
|
||||
"*.js": "javascript",
|
||||
"iostream": "cpp"
|
||||
},
|
||||
"C_Cpp.errorSquiggles": "disabled"
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"version": "2.0.0",
|
||||
"command": "g++",
|
||||
"args": ["-g","-std=c++11","${file}","-o","${workspaceRoot}\\${fileBasename}.exe"],
|
||||
"problemMatcher": {
|
||||
"owner": "cpp",
|
||||
"fileLocation": ["relative", "${workspaceRoot}"],
|
||||
"pattern": {
|
||||
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3,
|
||||
"severity": 4,
|
||||
"message": 5
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue