Skip to content

Commit 1450b49

Browse files
committed
vs code settings
1 parent f544c88 commit 1450b49

File tree

3 files changed

+10
-14
lines changed

3 files changed

+10
-14
lines changed

.vscode/launch.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@
55
"version": "0.2.0",
66
"configurations": [
77
{
8-
"name": "g++.exe - Build and debug active file",
8+
"name": "g++-9 - Build and debug active file",
99
"type": "cppdbg",
1010
"request": "launch",
11-
"program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
11+
"program": "${fileDirname}/${fileBasenameNoExtension}",
1212
"args": [],
1313
"stopAtEntry": false,
1414
"cwd": "${workspaceFolder}",
1515
"environment": [],
1616
"externalConsole": false,
1717
"MIMode": "gdb",
18-
"miDebuggerPath": "C:\\Program Files (x86)\\mingw-w64\\i686-8.1.0-posix-dwarf-rt_v6-rev0\\mingw32\\bin\\gdb.exe",
1918
"setupCommands": [
2019
{
2120
"description": "Enable pretty-printing for gdb",
2221
"text": "-enable-pretty-printing",
2322
"ignoreFailures": true
2423
}
2524
],
26-
"preLaunchTask": "C/C++: g++.exe build active file"
25+
"preLaunchTask": "C/C++: g++-9 build active file",
26+
"miDebuggerPath": "/usr/bin/gdb"
2727
}
2828
]
2929
}

.vscode/settings.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

.vscode/tasks.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"tasks": [
33
{
4-
"type": "shell",
5-
"label": "C/C++: g++.exe build active file",
6-
"command": "C:\\Program Files (x86)\\mingw-w64\\i686-8.1.0-posix-dwarf-rt_v6-rev0\\mingw32\\bin\\g++.exe",
4+
"type": "cppbuild",
5+
"label": "C/C++: g++-9 build active file",
6+
"command": "/usr/bin/g++-9",
77
"args": [
88
"-g",
99
"${file}",
1010
"-o",
11-
"${fileDirname}\\${fileBasenameNoExtension}.exe"
11+
"${fileDirname}/${fileBasenameNoExtension}"
1212
],
1313
"options": {
1414
"cwd": "${workspaceFolder}"
@@ -19,7 +19,8 @@
1919
"group": {
2020
"kind": "build",
2121
"isDefault": true
22-
}
22+
},
23+
"detail": "Task generated by Debugger."
2324
}
2425
],
2526
"version": "2.0.0"

0 commit comments

Comments
 (0)