VSCodium
本文提供了基于 VSCodium 的编辑器基本配置,涵盖必备插件推荐、多语言开发环境(LaTeX、Python、Rust 等)、容器/远程开发支持,以及通用的 JSON 配置示例,适用于 VSCode、Cursor、Trae 等各类 VSC…
基于 VSCodium 的编辑器基本配置
必备插件列表:
- AutoCorrect:自动纠正格式错误
- Markdown All in One:写文档必备
- Vscode Neovim
可用于编写:
latex: latex workshop
markdown: markdown all in one
python: python + pylance/basedpyright + black formatter 需要配置下类型补全等
rust, tauri, vue: rust + tauri + vue
容器/WSL/远程 开发:container dev,remote ssh
C/C++: clangd + cmake tools
但不一定每台电脑都需要这些功能
配置适用于基于 vscodium 开发的各类 IDE,包括 vscode、trae、vscodium、qoder、cursor 等等
{
// 禁用内置 AI
"chat.disableAIFeatures": true,
// 编辑器基本设置
"editor.detectIndentation": false,
"editor.fontFamily": "SF Mono",
"editor.indentSize": "tabSize",
"editor.mouseWheelZoom": true,
"editor.renderWhitespace": "all",
"editor.tabSize": 4,
"editor.wordWrap": "on",
// 资源管理器
"explorer.confirmDragAndDrop": false,
"explorer.confirmPasteNative": false,
"extensions.ignoreRecommendations": true,
// git
"git.confirmSync": true,
"git.enableSmartCommit": true,
// 终端基本设置
"terminal.integrated.fontFamily": "Hack Nerd Font Mono",
"terminal.integrated.fontSize": 14,
"terminal.integrated.defaultProfile.linux": "fish",
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/bin/fish"
}
},
// 界面基本配置
"window.zoomLevel": 1,
"workbench.startupEditor": "none",
}