配置修改
This commit is contained in:
parent
c63319f328
commit
6ecaa0a7d8
3 changed files with 5 additions and 9 deletions
5
.vscode/launch.json
vendored
5
.vscode/launch.json
vendored
|
@ -1,7 +1,4 @@
|
||||||
{
|
{
|
||||||
// 使用 IntelliSense 了解相关属性。
|
|
||||||
// 悬停以查看现有属性的描述。
|
|
||||||
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"label": "Compile",
|
"label": "Compile",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
|
@ -20,7 +17,7 @@
|
||||||
"miDebuggerPath": "C:\\Project\\mingw64\\bin\\gdb.exe",
|
"miDebuggerPath": "C:\\Project\\mingw64\\bin\\gdb.exe",
|
||||||
"setupCommands": [
|
"setupCommands": [
|
||||||
{
|
{
|
||||||
"description": "为 gdb 启用整齐打印",
|
"description": "gdb",
|
||||||
"text": "-enable-pretty-printing",
|
"text": "-enable-pretty-printing",
|
||||||
"ignoreFailures": true
|
"ignoreFailures": true
|
||||||
}
|
}
|
||||||
|
|
7
.vscode/tasks.json
vendored
7
.vscode/tasks.json
vendored
|
@ -3,13 +3,12 @@
|
||||||
{
|
{
|
||||||
"type": "cppbuild",
|
"type": "cppbuild",
|
||||||
"label": "Compile",
|
"label": "Compile",
|
||||||
"command": "C:/Project/mingw64/bin/g++.exe",
|
"command": "g++",
|
||||||
"args": [
|
"args": [
|
||||||
"-fdiagnostics-color=always",
|
"${fileDirname}\\*.cpp",
|
||||||
"-g",
|
"-g",
|
||||||
"${file}",
|
// "-fexec-charset=gb2312",
|
||||||
"-o",
|
"-o",
|
||||||
"-fexec-charset=GB2312",
|
|
||||||
"${fileDirname}\\${fileBasenameNoExtension}.exe"
|
"${fileDirname}\\${fileBasenameNoExtension}.exe"
|
||||||
],
|
],
|
||||||
"options": {
|
"options": {
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
"streambuf": "cpp",
|
"streambuf": "cpp",
|
||||||
"typeinfo": "cpp"
|
"typeinfo": "cpp"
|
||||||
},
|
},
|
||||||
"files.encoding": "gb2312"
|
"files.encoding": "utf8"
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
Reference in a new issue