打造一个好用的 Windows 编程环境 2.编程环境
VS Code
有问题首先运行 F1 - 开发人员:重启扩展宿主。
-
- 设置 -
files.eol:\n。
- 设置 -
-
- 设置 -
editor.inlayHints.enabled:off。
- 设置 -
-
- 设置 -
cph.general.autoShowJudge:false。
- 设置 -
字体
教程。
-
- 设置 -
editor.fontFamily:'Fira Code'。 - 设置 -
editor.fontLigatures:true。
- 设置 -
扩展
全局
编程环境
- C++:
- Python:
- Rust:
rust-analyzer。
详细教程在各“配置 VS Code”小节内。
写作
美化
工具
算法竞赛
AI
WSL
winget install Microsoft.WSL # 安装后重启
wsl --list --online # 查看发行版列表
wsl --install -d Ubuntu-24.04 # 无需修改默认版本,默认使用 WSL2
- 若发行版列表中未出现
Ubuntu-24.04,可能是 Windows 版本过低。 - 若出现
0x800701bc错误,安装 适用于 x64 计算机的 WSL2 Linux 内核更新包。
然后设置 Linux 用户名和密码。
详见 WSL.md。
浙公网安备 33010602011771号