# VS Code 插件与设置用途说明

这份文档根据你提供的扩展清单和设置整理，按工作场景说明每个扩展的作用、适用范围和是否适合放入通用 Profile。建议把“通用开发”保持轻量，语言、框架、编译器、数据库和远程环境插件放在专用 Profile。

## 一、Profile 使用原则

- **通用开发**：Git、编辑器体验、项目导航、基础格式化、一个主要 AI 工具。
- **专用 Profile**：只放对应语言或工具链需要的扩展和设置。
- **AI 工具**：Codeium、Tabnine、Codex、Roo Code 功能重叠，通常保留一个主要工具即可。
- **本机路径和远程主机**：不要写进通用设置，避免换机器或切换项目后失效。

## 通用开发

### Better Comments
- **扩展 ID**：`aaron-bond.better-comments`
- **用途**：用不同颜色显示 TODO、警告、问题和重要说明，适合快速扫描源码。
- **建议**：适合通用 Profile。

### Windsurf Plugin (formerly Codeium): AI Coding Autocomplete and Chat for Python, JavaScript, TypeScript, and more
- **扩展 ID**：`codeium.codeium`
- **用途**：提供 AI 代码补全和聊天；与其他 AI 补全工具功能重复。
- **建议**：按需使用。

### GitLens — 让 Git 更强大
- **扩展 ID**：`eamodio.gitlens`
- **用途**：显示 blame、提交历史、作者信息、文件比较和仓库状态。
- **建议**：适合通用 Profile。

### Prettier - Code formatter
- **扩展 ID**：`esbenp.prettier-vscode`
- **用途**：为 通用开发 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：适合通用 Profile。

### Code Runner
- **扩展 ID**：`formulahendry.code-runner`
- **用途**：通过右键或命令快速运行当前文件，适合小脚本和练习。
- **建议**：适合通用 Profile。

### Path Autocomplete
- **扩展 ID**：`ionutvmi.path-autocomplete`
- **用途**：输入路径时提供文件和目录补全。
- **建议**：适合通用 Profile。

### Git Graph
- **扩展 ID**：`mhutchie.git-graph`
- **用途**：以图形方式查看分支、提交、合并和标签。
- **建议**：适合通用 Profile。

### Test Explorer UI
- **扩展 ID**：`hbenl.vscode-test-explorer`
- **用途**：为 通用开发 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：适合通用 Profile。

### Test Adapter Converter
- **扩展 ID**：`ms-vscode.test-adapter-converter`
- **用途**：把旧测试适配器转换为 Test Explorer 可识别的格式。
- **建议**：适合通用 Profile。

### Sort lines
- **扩展 ID**：`tyriar.sort-lines`
- **用途**：按字典序或自然顺序排序选中的文本行。
- **建议**：适合通用 Profile。

### Vim
- **扩展 ID**：`vscodevim.vim`
- **用途**：提供 Vim 的普通、插入、可视等模式和快捷键。
- **建议**：适合通用 Profile。

### Chinese (Simplified) (简体中文) Language Pack for Visual Studio Code
- **扩展 ID**：`ms-ceintl.vscode-language-pack-zh-hans`
- **用途**：为 通用开发 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：适合通用 Profile。

### Codex – OpenAI’s coding agent
- **扩展 ID**：`openai.chatgpt`
- **用途**：为 通用开发 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：适合通用 Profile。

### Codex Audio
- **扩展 ID**：`openai.codex-audio`
- **用途**：为 通用开发 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：按需使用。

### Tabnine AI
- **扩展 ID**：`tabnine.tabnine-vscode`
- **用途**：AI 代码补全工具，与 Codeium、Copilot 等存在重叠。
- **建议**：按需使用。

### Roo Code
- **扩展 ID**：`rooveterinaryinc.roo-cline`
- **用途**：提供代理式 AI 编程工作流，可执行多步代码任务。
- **建议**：按需使用。

### Yash
- **扩展 ID**：`daohong-emilio.yash`
- **用途**：Yash shell 语法支持；只有使用 Yash shell 时才有价值。
- **建议**：按需使用。

## C C++ CMake 与 Qt

### C/C++ DevTools
- **扩展 ID**：`ms-vscode.cpp-devtools`
- **用途**：为 C C++ CMake 与 Qt 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### C/C++
- **扩展 ID**：`ms-vscode.cpptools`
- **用途**：为 C C++ CMake 与 Qt 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### C/C++ Extension Pack
- **扩展 ID**：`ms-vscode.cpptools-extension-pack`
- **用途**：为 C C++ CMake 与 Qt 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### C/C++ Themes
- **扩展 ID**：`ms-vscode.cpptools-themes`
- **用途**：为 C C++ CMake 与 Qt 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### CMake Tools
- **扩展 ID**：`ms-vscode.cmake-tools`
- **用途**：为 C C++ CMake 与 Qt 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### CMake
- **扩展 ID**：`twxs.cmake`
- **用途**：为 C C++ CMake 与 Qt 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Makefile Tools
- **扩展 ID**：`ms-vscode.makefile-tools`
- **用途**：为 C C++ CMake 与 Qt 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Qt tools
- **扩展 ID**：`tonka3000.qtvsctools`
- **用途**：为 C C++ CMake 与 Qt 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Qt Configure
- **扩展 ID**：`vector-wlc.qtconfigure`
- **用途**：为 C C++ CMake 与 Qt 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### 十六进制编辑器
- **扩展 ID**：`ms-vscode.hexeditor`
- **用途**：为 C C++ CMake 与 Qt 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

## Python 与数据科学

### Python
- **扩展 ID**：`ms-python.python`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Python Extension Pack
- **扩展 ID**：`donjayamanne.python-extension-pack`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Python Debugger
- **扩展 ID**：`ms-python.debugpy`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Pylance
- **扩展 ID**：`ms-python.vscode-pylance`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Python Environments
- **扩展 ID**：`ms-python.vscode-python-envs`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Python Environment Manager (deprecated)
- **扩展 ID**：`donjayamanne.python-environment-manager`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Python Indent
- **扩展 ID**：`kevinrose.vsc-python-indent`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Python Snippets 3
- **扩展 ID**：`ericsia.pythonsnippets3`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Python Test Explorer for Visual Studio Code
- **扩展 ID**：`littlefoxteam.vscode-python-test-adapter`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Python Type Hint
- **扩展 ID**：`njqdev.vscode-python-typehint`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### autoDocstring - Python Docstring Generator
- **扩展 ID**：`njpwerner.autodocstring`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Black Formatter
- **扩展 ID**：`ms-python.black-formatter`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Jupyter
- **扩展 ID**：`ms-toolsai.jupyter`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Jupyter Keymap
- **扩展 ID**：`ms-toolsai.jupyter-keymap`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Jupyter Notebook Renderers
- **扩展 ID**：`ms-toolsai.jupyter-renderers`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Jupyter Cell Tags
- **扩展 ID**：`ms-toolsai.vscode-jupyter-cell-tags`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Jupyter Slide Show
- **扩展 ID**：`ms-toolsai.vscode-jupyter-slideshow`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Data Wrangler
- **扩展 ID**：`ms-toolsai.datawrangler`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Tensorboard
- **扩展 ID**：`ms-toolsai.tensorboard`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### LiveCode for python
- **扩展 ID**：`xirider.livecode`
- **用途**：为 Python 与数据科学 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

## Web 前端与模板

### Vue (Official)
- **扩展 ID**：`vue.volar`
- **用途**：为 Web 前端与模板 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### ESLint
- **扩展 ID**：`dbaeumer.vscode-eslint`
- **用途**：为 Web 前端与模板 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Live Server
- **扩展 ID**：`ritwickdey.liveserver`
- **用途**：为 Web 前端与模板 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Live Preview
- **扩展 ID**：`ms-vscode.live-server`
- **用途**：为 Web 前端与模板 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### open in browser
- **扩展 ID**：`techer.open-in-browser`
- **用途**：为 Web 前端与模板 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Jinja
- **扩展 ID**：`wholroyd.jinja`
- **用途**：为 Web 前端与模板 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Django
- **扩展 ID**：`batisteo.vscode-django`
- **用途**：为 Web 前端与模板 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Microsoft Edge Tools for VS Code
- **扩展 ID**：`ms-edgedevtools.vscode-edge-devtools`
- **用途**：为 Web 前端与模板 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

## C# 与 .NET

### C#
- **扩展 ID**：`ms-dotnettools.csharp`
- **用途**：为 C# 与 .NET 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### C# 开发工具包
- **扩展 ID**：`ms-dotnettools.csdevkit`
- **用途**：为 C# 与 .NET 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### C# Extensions
- **扩展 ID**：`kreativ-software.csharpextensions`
- **用途**：为 C# 与 .NET 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### C# Namespace Autocompletion
- **扩展 ID**：`adrianwilczynski.namespace`
- **用途**：为 C# 与 .NET 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### C# XML Documentation Comments
- **扩展 ID**：`k--kato.docomment`
- **用途**：为 C# 与 .NET 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### .NET Install Tool
- **扩展 ID**：`ms-dotnettools.vscode-dotnet-runtime`
- **用途**：为 C# 与 .NET 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

## Unity

### Unity Tools
- **扩展 ID**：`tobiah.unity-tools`
- **用途**：为 Unity 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Unity
- **扩展 ID**：`visualstudiotoolsforunity.vstuc`
- **用途**：为 Unity 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Unity Code Snippets Improved
- **扩展 ID**：`blennster.unity-code-snippets-improved`
- **用途**：为 Unity 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Unity Code Snippets
- **扩展 ID**：`kleber-swf.unity-code-snippets`
- **用途**：为 Unity 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Unity Snippets
- **扩展 ID**：`yclepticstudios.unity-snippets`
- **用途**：为 Unity 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

## Java

### Language Support for Java(TM) by Red Hat
- **扩展 ID**：`redhat.java`
- **用途**：为 Java 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Extension Pack for Java
- **扩展 ID**：`vscjava.vscode-java-pack`
- **用途**：为 Java 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Debugger for Java
- **扩展 ID**：`vscjava.vscode-java-debug`
- **用途**：为 Java 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Test Runner for Java
- **扩展 ID**：`vscjava.vscode-java-test`
- **用途**：为 Java 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Project Manager for Java
- **扩展 ID**：`vscjava.vscode-java-dependency`
- **用途**：为 Java 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Maven for Java
- **扩展 ID**：`vscjava.vscode-maven`
- **用途**：为 Java 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Gradle for Java
- **扩展 ID**：`vscjava.vscode-gradle`
- **用途**：为 Java 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### GitHub Copilot modernization
- **扩展 ID**：`vscjava.migrate-java-to-azure`
- **用途**：为 Java 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### GitHub Copilot modernization - upgrade for Java
- **扩展 ID**：`vscjava.vscode-java-upgrade`
- **用途**：为 Java 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

## 数据库与 SQL

### Database Client JDBC
- **扩展 ID**：`cweijan.dbclient-jdbc`
- **用途**：为 数据库与 SQL 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### MySQL
- **扩展 ID**：`cweijan.vscode-mysql-client2`
- **用途**：为 数据库与 SQL 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### MySQL Syntax
- **扩展 ID**：`jakebathman.mysql-syntax`
- **用途**：为 数据库与 SQL 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### SQL Server (mssql)
- **扩展 ID**：`ms-mssql.mssql`
- **用途**：为 数据库与 SQL 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### SQLTools
- **扩展 ID**：`mtxr.sqltools`
- **用途**：为 数据库与 SQL 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### SQL Bindings
- **扩展 ID**：`ms-mssql.sql-bindings-vscode`
- **用途**：为 数据库与 SQL 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### SQL Database Projects
- **扩展 ID**：`ms-mssql.sql-database-projects-vscode`
- **用途**：为 数据库与 SQL 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Prettier SQL VSCode
- **扩展 ID**：`inferrinizzard.prettier-sql-vscode`
- **用途**：为 数据库与 SQL 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Data Workspace
- **扩展 ID**：`ms-mssql.data-workspace-vscode`
- **用途**：为 数据库与 SQL 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Rainbow CSV
- **扩展 ID**：`mechatroner.rainbow-csv`
- **用途**：为 数据库与 SQL 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

## Markdown LaTeX 与文档

### Markdown Preview Github Styling
- **扩展 ID**：`bierner.markdown-preview-github-styles`
- **用途**：为 Markdown LaTeX 与文档 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### markdownlint
- **扩展 ID**：`davidanson.vscode-markdownlint`
- **用途**：为 Markdown LaTeX 与文档 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Markdown+Math
- **扩展 ID**：`goessner.mdmath`
- **用途**：为 Markdown LaTeX 与文档 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Markdown 增强预览
- **扩展 ID**：`shd101wyy.markdown-preview-enhanced`
- **用途**：为 Markdown LaTeX 与文档 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Markdown PDF
- **扩展 ID**：`yzane.markdown-pdf`
- **用途**：为 Markdown LaTeX 与文档 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Markdown All in One
- **扩展 ID**：`yzhang.markdown-all-in-one`
- **用途**：为 Markdown LaTeX 与文档 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### LaTeX Workshop
- **扩展 ID**：`james-yu.latex-workshop`
- **用途**：为 Markdown LaTeX 与文档 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Citation Picker for Zotero
- **扩展 ID**：`mblode.zotero`
- **用途**：为 Markdown LaTeX 与文档 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### vscode-pdf
- **扩展 ID**：`tomoki1207.pdf`
- **用途**：为 Markdown LaTeX 与文档 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### NoteIM: Fast Image & Markdown Sharing
- **扩展 ID**：`starkwang.markdown`
- **用途**：为 Markdown LaTeX 与文档 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

## Azure 云服务与 AI

### Azure Load Testing
- **扩展 ID**：`ms-azure-load-testing.microsoft-testing`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Azure Developer CLI
- **扩展 ID**：`ms-azuretools.azure-dev`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### GitHub Copilot for Azure
- **扩展 ID**：`ms-azuretools.vscode-azure-github-copilot`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Azure MCP Server
- **扩展 ID**：`ms-azuretools.vscode-azure-mcp-server`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Azure App Service
- **扩展 ID**：`ms-azuretools.vscode-azureappservice`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Azure Container Apps
- **扩展 ID**：`ms-azuretools.vscode-azurecontainerapps`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Azure Functions
- **扩展 ID**：`ms-azuretools.vscode-azurefunctions`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Azure Resources
- **扩展 ID**：`ms-azuretools.vscode-azureresourcegroups`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Azure Static Web Apps
- **扩展 ID**：`ms-azuretools.vscode-azurestaticwebapps`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Azure Storage
- **扩展 ID**：`ms-azuretools.vscode-azurestorage`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Azure Virtual Machines
- **扩展 ID**：`ms-azuretools.vscode-azurevirtualmachines`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Azure Cosmos DB
- **扩展 ID**：`ms-azuretools.vscode-cosmosdb`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Azure Tools
- **扩展 ID**：`ms-vscode.vscode-node-azure-pack`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Microsoft Foundry
- **扩展 ID**：`teamsdevapp.vscode-ai-foundry`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### GitHub Actions
- **扩展 ID**：`github.vscode-github-actions`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### GitHub 拉取请求
- **扩展 ID**：`github.vscode-pull-request-github`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### YAML
- **扩展 ID**：`redhat.vscode-yaml`
- **用途**：为 Azure 云服务与 AI 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

## Docker 与 Kubernetes

### Docker DX
- **扩展 ID**：`docker.docker`
- **用途**：为 Docker 与 Kubernetes 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Container Tools
- **扩展 ID**：`ms-azuretools.vscode-containers`
- **用途**：为 Docker 与 Kubernetes 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Kubernetes
- **扩展 ID**：`ms-kubernetes-tools.vscode-kubernetes-tools`
- **用途**：为 Docker 与 Kubernetes 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

## 远程开发

### 开发容器
- **扩展 ID**：`ms-vscode-remote.remote-containers`
- **用途**：为 远程开发 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Remote - SSH
- **扩展 ID**：`ms-vscode-remote.remote-ssh`
- **用途**：为 远程开发 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### Remote - SSH: Editing Configuration Files
- **扩展 ID**：`ms-vscode-remote.remote-ssh-edit`
- **用途**：为 远程开发 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### WSL
- **扩展 ID**：`ms-vscode-remote.remote-wsl`
- **用途**：为 远程开发 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### 远程资源管理器
- **扩展 ID**：`ms-vscode.remote-explorer`
- **用途**：为 远程开发 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### SFTP
- **扩展 ID**：`natizyskunk.sftp`
- **用途**：为 远程开发 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

## Go

### Go
- **扩展 ID**：`golang.go`
- **用途**：为 Go 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

## R

### R
- **扩展 ID**：`reditorsupport.r`
- **用途**：为 R 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### R Syntax
- **扩展 ID**：`reditorsupport.r-syntax`
- **用途**：为 R 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### R Debugger
- **扩展 ID**：`rdebugger.r-debugger`
- **用途**：为 R 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

## 编程竞赛

### Codeforces
- **扩展 ID**：`kaustubhsathe.vscode-codeforces`
- **用途**：为 编程竞赛 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### LeetCode
- **扩展 ID**：`leetcode.vscode-leetcode`
- **用途**：为 编程竞赛 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

### vscode-luogu
- **扩展 ID**：`yltx.vscode-luogu`
- **用途**：为 编程竞赛 场景提供语言服务、编辑、导航、运行、调试、预览或集成功能。
- **建议**：建议放入专用 Profile。

## 硬件设计

## 设置说明

### 1. 通用文件和编辑器设置

| 设置 | 作用 | 建议 |
|---|---|---|
| `files.autoSave` | 控制自动保存时机，例如 `onFocusChange` 或 `afterDelay`。 | 通用 |
| `files.encoding` | 指定文件编码，通常使用 `utf8`。 | 通用 |
| `files.insertFinalNewline` | 保存时在文件末尾补换行。 | 通用 |
| `files.trimTrailingWhitespace` | 删除行尾多余空格。 | 通用 |
| `editor.fontSize` | 编辑器字号。 | 通用 |
| `editor.fontFamily` | 编辑器字体列表。 | 通用，但依赖本机字体 |
| `editor.formatOnSave` | 保存时自动格式化。 | 通用，但可能被语言 Profile 覆盖 |
| `editor.indentSize` | 缩进宽度或跟随 `tabSize`。 | 通用 |
| `editor.wordWrap` | 控制长行换行方式。 | 通用 |
| `editor.minimap.autohide` | 控制小地图显示和隐藏。 | 通用 |
| `editor.inlayHints.enabled` | 控制类型提示等内嵌提示。 | 按语言需要 |

### 2. 界面、导航和终端

| 设置 | 作用 | 建议 |
|---|---|---|
| `workbench.colorTheme` | 设置颜色主题。 | 通用偏好 |
| `workbench.iconTheme` | 设置文件图标主题。 | 通用 |
| `explorer.autoReveal` | 打开文件时是否在资源管理器定位。 | 通用 |
| `search.followSymlinks` | 搜索是否跟随符号链接。 | 通用，仓库很大时需谨慎 |
| `terminal.integrated.fontSize` | 集成终端字号。 | 通用 |
| `terminal.integrated.defaultProfile.windows` | 默认 Windows 终端配置。 | 本机相关，不宜跨设备共享 |
| `terminal.integrated.profiles.windows` | 定义 PowerShell、CMD、Git Bash、WSL 等终端。 | 本机相关 |

### 3. Git 和协作

| 设置 | 作用 | 建议 |
|---|---|---|
| `git.autofetch` | 自动获取远程 Git 更新。 | 通用，可按仓库策略调整 |
| `gitlens.views.scm.grouped.views` | 配置 GitLens 源代码管理视图的分组和显示状态。 | 安装 GitLens 时使用 |
| `GitCommitPlugin.ShowEmoji` | 控制提交信息中是否显示 emoji。 | 安装对应插件时使用 |

### 4. Vim 设置

| 设置 | 作用 |
|---|---|
| `vim.easymotion` | 快速跳转到屏幕中的位置。 |
| `vim.incsearch` | 输入搜索内容时即时定位。 |
| `vim.useSystemClipboard` | 使用系统剪贴板。 |
| `vim.useCtrlKeys` | 允许 Vim 使用 Ctrl 快捷键。 |
| `vim.hlsearch` | 高亮搜索结果。 |
| `vim.insertModeKeyBindings` | 定义插入模式映射，例如 `jk` 退出插入模式。 |
| `vim.normalModeKeyBindingsNonRecursive` | 定义普通模式的非递归快捷键。 |
| `vim.leader` | 设置 `<leader>` 键。 |
| `vim.handleKeys` | 指定由 Vim 接管或交给 VS Code 的按键。 |
| `extensions.experimental.affinity` | 调整 Vim 扩展的扩展主机亲和性。 |

### 5. 语言和工具链专用设置

- `clangd.arguments`、`C_Cpp.intelliSenseEngine`：只适用于 C/C++。
- `cmake.*`、`makefile.*`、`qtConfigure.*`：只适用于 CMake、Makefile 或 Qt。
- `python.*`、`r.*`、`java.*`、`php.*`、`omnisharp.*`：只适用于对应语言运行时或调试器。
- `latex-workshop.*`、`markdown-preview-enhanced.*`：只适用于文档和 LaTeX 工作流。
- `mssql.*`、`database-client.*`：只适用于数据库工具。
- `remote.SSH.remotePlatform`：包含具体主机名，只放远程开发 Profile。
- `qtConfigure.qtDir`、`r.rpath.windows`、`php.validate.executablePath`、`python.defaultInterpreterPath`：包含本机安装路径，不应放入可移植的通用 Profile。
- `roo-cline.*`、`tabnine.*`、`github.copilot.*`：只在启用对应 AI 扩展时设置。

## 二、推荐的通用开发最小集合

建议通用 Profile 保留 GitLens、Git Graph、Git History、Prettier、Project Manager、Path Autocomplete、Error Lens、Better Comments、Test Explorer、Code Runner、Vim 和一个主要 AI 工具。Yash、Docker、SFTP、Azure、数据库、语言服务和编译器扩展应放入专用 Profile。



## 最后的建议

### 关于settings
每个 profile 复制一份通用基础 settings，再叠加该领域专属 settings。
原因是 VS Code 的 profile 之间基本是独立的：
- 新 profile 不会持续继承 Default Profile 的后续修改，除非这个 profile 的设置是“使用默认 profile 设置”；
- 你以后修改 Default Profile 的设置，除非这个profile的设置是“使用默认profile设置”，否则 profile 不会自动同步；
- 如果所有插件设置都放在 Default Profile，容易出现某个 profile 缺少配置或行为不一致；
- 每个 profile 自包含，迁移、导出、备份和恢复都更可靠。
- 创建新 Profile 时，如果选择“使用默认 Profile 设置”，默认 Profile 的 settings.json **不会被复制一份**到新 Profile 的独立目录。
- 因此，要么新的profile的setting追随默认配置是setting，以后所有插件的配置都往默认setting里添加；要么复制过来默认的setting，以后在不同的profile的setting进行追加。
m 默认 profile,它并不是“全局生效”的，只是“默认 Profile 自己的设置”。


核心机制：每个 Profile 完全独立

VS Code 的每个 Profile（包括“默认” Profile）都有自己独立的 settings.json、keybindings.json、snippets/ 和扩展列表。
如何设置默认的配置？因为他无法通过新建导入啊
默认 Profile：文件在 %APPDATA%\Code\User\settings.json
只能在这里修改

非默认 Profile：文件在 %APPDATA%\Code\User\profiles\<profile ID>\settings.json



如何一口气全卸载插件？

 方法一：命令行批量卸载（推荐）

关闭 VS Code 后，根据你的系统在终端或 PowerShell 中运行对应命令：

**Windows (PowerShell):**

powershell

code --list-extensions | % { code --uninstall-extension $_ --force }


### 那真正的配置在哪里？

用户配置和插件信息是**分开存放**的：

| 内容               | 存放位置                                 |
| ---------------- | ------------------------------------ |
| **插件列表**         | `...\profiles\<id>\extensions.json`  |
| **用户设置**         | `...\profiles\<id>\settings.json`    |
| **快捷键**          | `...\profiles\<id>\keybindings.json` |
| **代码片段**         | `...\profiles\<id>\snippets\` 文件夹    |
| **全局存储**（UI 状态等） | `...\profiles\<id>\globalStorage\`   |

而 Default Profile 的配置和扩展
- **用户数据目录**（存放设置、快捷键等）：
    
    - Windows: `%APPDATA%\Code\User`
        
    - macOS: `$HOME/Library/Application Support/Code/User`
        
    - Linux: `$HOME/.config/Code/User` [](https://stackoverflow.com/feeds/question/77083120#1)
        
- **扩展目录**：
    
    - Windows/Linux: `%USERPROFILE%\.vscode\extensions`
        
    - macOS: `$HOME/.vscode/extensions`

### 以 `.` 开头的文件夹是什么

这些是 VS Code 和插件运行时产生的**数据目录**，不是插件本体。它们通常存放：

- 插件的 `globalStorage`（全局状态、缓存、登录令牌等）
    
- 扩展的 `workspaceStorage` 相关数据
    
- VS Code 自身的内部索引和状态
    

它们**不在 `extensions.json` 的插件清单里**，所以你用 `code --list-extensions` 根本列不出来。换句话说，VS Code 不认为它们是“插件”，而是“插件产生的数据”。

### 以插件 ID 命名的文件夹是什么

格式为 `发布者.插件名-版本号`，比如 `aaron-bond.better-comments-3.0.2`。这些才是**插件本体**，是 `extensions.json` 里登记过的、VS Code 能识别和加载的扩展。