Last active
April 4, 2019 12:53
-
-
Save memset0/692e593f3cf580ef9591f0ae52c7f5c5 to your computer and use it in GitHub Desktop.
my VSCode config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"[cpp]": {}, | |
"files.associations": { | |
"*.cpp": "cpp" | |
}, | |
"workbench.iconTheme": "vscode-great-icons", | |
"materialTheme.fixIconsRunning": false, | |
"window.zoomLevel": 0, | |
"editor.fontSize": 15, | |
"editor.insertSpaces": false, | |
// cmd 终端 | |
// "terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\cmd.exe", | |
// powershell 终端 | |
"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"code-runner.runInTerminal": true, // 设置成false会在“输出”中输出,无法输入 | |
"code-runner.executorMap": { | |
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt.exe -Wall -g -Og -static-libgcc -fcolor-diagnostics --target=x86_64-w64-mingw -std=c11 && $dir$fileNameWithoutExt", | |
"cpp": "cd $dir && g++ \"$fileName\" -o \"$fileNameWithoutExt.exe\" --std=c++11 -I\"C:\\Program Files (x86)\\Dev-Cpp\\MinGW64\\include\" -I\"C:\\Program Files (x86)\\Dev-Cpp\\MinGW64\\x86_64-w64-mingw32\\include\" -I\"C:\\Program Files (x86)\\Dev-Cpp\\MinGW64\\lib\\gcc\\x86_64-w64-mingw32\\4.9.2\\include\" -I\"C:\\Program Files (x86)\\Dev-Cpp\\MinGW64\\lib\\gcc\\x86_64-w64-mingw32\\4.9.2\\include\\c++\" -L\"C:\\Program Files (x86)\\Dev-Cpp\\MinGW64\\lib\" -L\"C:\\Program Files (x86)\\Dev-Cpp\\MinGW64\\x86_64-w64-mingw32\\lib\" -static-libgcc && cmd /c start cmd /c C:\\ConsolePauser\\main.exe \"$fileNameWithoutExt.exe\"" | |
}, | |
"explorer.confirmDelete": false, | |
"editor.fontFamily": "'Source Code Pro', 'Courier New', Inconsolata, Consolas, monospace", | |
"files.autoSaveDelay": 500, | |
"editor.fontWeight": "500", // 设置code runner的命令行 | |
"emeraldwalk.runonsave": { | |
"commands": [ | |
{ | |
"match": ".*", | |
"cmd": "echo helloworld" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment