Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Send2ClaudeNew to Visual Studio Code? Get it now.
Send2Claude

Send2Claude

anghunk

|
1 install
| (0) | Free
Send selected code to Claude Code chat
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Send2Claude

Version

一个 VSCode 扩展,用于快速将代码文件路径或选中的代码片段行数发送给 Claude Code 进行分析和讨论。

使用方法

在编辑器或文件资源管理器中右键,选择 Send to Claude Code,插件会生成以下格式的引用字符串,可直接粘贴到 Claude Code 对话中:

  • 选中代码后右键 → 复制 @文件路径:行号(如 @src/main.js:10-20)
  • 空白处右键 → 复制 @文件路径(如 @src/main.js)
  • 文件树右键 → 复制 @文件路径(如 @src/main.js)

License

Apache License 2.0

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