Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AI Annotation WrapperNew to Visual Studio Code? Get it now.
AI Annotation Wrapper

AI Annotation Wrapper

XuZe

|
1 install
| (1) | Free
Wrap selected JS/TS code with AI annotation comments
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI Annotation Wrapper

一个 VS Code 扩展,用快捷键把选中代码包裹为 AI 注释块。

功能

  • 支持多语言,默认包含 JS/TS/Vue 以及常见后端语言
  • Vue 文件自动按区域选择注释类型
  • 选区自动扩展到整行,避免截断
  • 注释与原代码缩进对齐

使用

  1. 启动扩展开发主机
  2. 在编辑器中选中代码
  3. 使用快捷键触发命令

默认快捷键:

  • Windows / Linux:Ctrl+Alt+A
  • macOS:Cmd+Alt+A

命令名称:Wrap Selection With AI Comments

配置

在设置中修改支持语言:

"aiAnnotation.languageIds": [
  "javascript",
  "typescript",
  "vue",
  "python",
  "java"
]

留空数组 [] 表示所有语言都支持。

打包

npm run package

生成的 VSIX 会出现在项目根目录。

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft