File tree 4 files changed +92
-0
lines changed
4 files changed +92
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "configurations" : [
3
+ {
4
+ "name" : " Win32" ,
5
+ "includePath" : [
6
+ " ${workspaceFolder}/**"
7
+ ],
8
+ "defines" : [
9
+ " _DEBUG" ,
10
+ " UNICODE" ,
11
+ " _UNICODE"
12
+ ],
13
+ "windowsSdkVersion" : " 10.0.19041.0" ,
14
+ "compilerPath" : " C:/Program Files/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/g++.exe" ,
15
+ "cStandard" : " c11" ,
16
+ "cppStandard" : " c++17" ,
17
+ "intelliSenseMode" : " gcc-x86"
18
+ }
19
+ ],
20
+ "version" : 4
21
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ "version" : " 0.2.0" ,
5
+ "configurations" : [
6
+ {
7
+ "name" : " g++.exe - Build and debug active file" ,
8
+ "type" : " cppdbg" ,
9
+ "request" : " launch" ,
10
+ "program" : " ${fileDirname}\\ ${fileBasenameNoExtension}.exe" ,
11
+ "args" : [],
12
+ "stopAtEntry" : false ,
13
+ "cwd" : " ${workspaceFolder}" ,
14
+ "environment" : [],
15
+ "externalConsole" : false ,
16
+ "MIMode" : " gdb" ,
17
+ "miDebuggerPath" : " gdb" ,
18
+ "setupCommands" : [
19
+ { // Display content in STL containers pretty
20
+ "description" : " Enable pretty-printing for gdb" ,
21
+ "text" : " -enable-pretty-printing" ,
22
+ "ignoreFailures" : true
23
+ }
24
+ ],
25
+ // VS Code debug的日志信息,能清楚gdb加载和运行的各种过程
26
+ "logging" : {
27
+ "moduleLoad" : false ,
28
+ "trace" : true ,
29
+ "engineLogging" : true ,
30
+ "exceptions" : true
31
+ },
32
+ "preLaunchTask" : " C/C++: g++.exe build active file"
33
+ }
34
+ ]
35
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "files.associations" : {
3
+ "*.vue" : " vue" ,
4
+ "deque" : " cpp" ,
5
+ "string" : " cpp" ,
6
+ "vector" : " cpp" ,
7
+ "new" : " cpp" ,
8
+ "unordered_map" : " cpp"
9
+ }
10
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "version" : " 2.0.0" ,
3
+ "tasks" : [
4
+ {
5
+ //"type": "shell",
6
+ "label" : " C/C++: g++.exe build active file" ,
7
+ "command" : " g++" ,
8
+ "args" : [
9
+ " -g" ,
10
+ " ${file}" ,
11
+ " -o" ,
12
+ " ${fileDirname}\\ ${fileBasenameNoExtension}.exe"
13
+ ],
14
+ "options" : {
15
+ "cwd" : " ${workspaceFolder}"
16
+ },
17
+ "problemMatcher" : [
18
+ " $gcc"
19
+ ],
20
+ "group" : {
21
+ "kind" : " build" ,
22
+ "isDefault" : true
23
+ }
24
+ }
25
+ ]
26
+ }
You can’t perform that action at this time.
0 commit comments