admin管理员组

文章数量:1532168

才知道有这么个文本编辑器,微软开发的,开源跨平台。支持市面上的各种主流语言(通过插件扩展),有智能补全,高亮等等功能。
整个文本编辑器几十MB,挺小巧。

界面看起来挺漂亮,所以准备尝尝鲜。

安装

版本是vscode 1.33 ,安装完成后是英文的,修改为中文界面:
直接安装简体中文插件


重启编辑器完成。

因为是配置c与c++,所以继续安装插件c/c++0.22版本

此时可以新建文件,输入常规代码了。
不过还不能用,因为vscode是个文本编辑器,并没有编译器,调试器等等组件。

配置编译器

Note: The C/C++ extension does not include a C++ compiler or debugger. You will need to install these tools or use those already installed on your computer. Popular C++ compilers are mingw-w64 for Windows, Clang for XCode for macOS, and GCC on Linux. Make sure your compiler executable is in your platform path so the extension can find it

所以按照官方的说法,选择mingw-w64,下载7.2.0/5.0.3版本

安装界面默认即可:

然后找到安装的具体路径,路径给复制下来:

本文标签: 语言VSCode