Files
python/VsCode配置/VsCode配置过程.txt
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

43 lines
1.4 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

0、TDM GCC 下载
https://dsideal.obs.cn-north-1.myhuaweicloud.com/HuangHai/tdm64-gcc-10.3.0-2.exe
安装时需要注意不要选择连接到服务器进行更新!!! 然后选择Create即可。
# VsCode下载
https://code.visualstudio.com/
https://code.visualstudio.com/sha/download?build=stable&os=win32-x64
# LLVM
https://llvm.org/
https://mirrors.tuna.tsinghua.edu.cn/github-release/llvm/llvm-project
下载后安装,设置到 All Users Path中【非常重要】去。
3、在安装完VsCode后需要安装以下的插件:
Ctrl+Shift+x 然后输入下面的插件名称后,点击安装即可。
必装插件
(1)、C/C++ (有代码提示功能)插件
(2)、C++ Extension Pack
(3)、Chinese
(4)、Clang-Format
(5)、Code Runner 插件
(6)、Remove Comments 使用方法Ctrl+Shift+P ,选择 Remove Comments一切都平静了~ 同名插件有多个选择rioj7 1.5版本
(7)、Markdown All in One
(8)、Markdown Preview Enhanced
4、运行“还原全局配置.cmd”
5、将Work目录复制到D盘根目录如果没有D盘就放到C盘根目录下
6、以后再学习C++代码时直接在Work目录下创建文件即可比如123.cpp
7、新创建的cpp文件后输入 cpp 然后回车,就可以自动完成框架模板的输入了。
Enjoy ~
Q:VSCode中右键跳转到定义时提示找不到 `xxx` 的定义的解决方案
A:下载安装 或 重新安装 "C/C++"插件即