之前在看到网上没有相关中文的VS Code的配置教程,于是就自己写一个。
必须安装windows下的gcc
配置下来就是这样,可以进行debug。
这是我的插件:
其中如果要编写C++最好能够安装所有带C++字样的插件。
// 将设置放入此文件中以覆盖默认设置
{
// 以像素为单位控制字号。
"editor.fontSize": 20,
// 控制字体系列。
"editor.fontFamily": "Consolas, monospace",
"python.autoComplete.extraPaths": [],
"python.formatting.autopep8Args": [],
"python.formatting.autopep8Path": "autopep8",
"python.formatting.outputWindow": "Python",
"python.formatting.provider": "autopep8",
"python.formatting.yapfArgs": [],
"python.formatting.yapfPath": "yapf",
"python.jupyter.appendResults": true,
"python.jupyter.defaultKernel": "",
"python.jupyter.startupCode": [
"%matplotlib inline"
],
"editor.renderIndentGuides": true,
"python.linter": "pyLint",
"python.linting.enabled": true,
"python.linting.flake8Args": [],
"python.linting.flake8Enabled": false,
"python.linting.flake8Path": "flake8",
"python.linting.lintOnSave": true,
"python.linting.lintOnTextChange": true,
"C_Cpp.clang_format_formatOnSave": true,
"clang-format.language.cpp.enable": true,
//
"C_Cpp.clang_format_style": "file",
//
"C_Cpp.autocomplete": "Default",
"C_Cpp.clang_