Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Dongx for VSCodeNew to Visual Studio Code? Get it now.
Dongx for VSCode

Dongx for VSCode

pisces2622

|
24 installs
| (0) | Free
OAuth-enabled environment variable management for Claude Code integration with dynamic authentication
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Dongx for VSCode

一个为 VS Code 终端集成管理环境变量的扩展,专门用于设置 Anthropic API 配置。

功能特性

  • 🚀 快速设置 Anthropic 环境变量
  • 🔧 安全配置,修改前需要确认
  • 🗑️ 支持清理环境变量
  • 👀 查看当前环境变量设置
  • ⚡ 可选的自动激活设置
  • 🌍 跨平台支持(Windows、macOS、Linux)

命令

  • Dongx: Set Environment Variables - 设置 ANTHROPIC 环境变量
  • Dongx: Remove Environment Variables - 移除 ANTHROPIC 环境变量
  • Dongx: Show Current Environment Settings - 显示当前配置

使用方法

设置环境变量

  1. 打开命令面板(macOS: Cmd+Shift+P,Windows/Linux: Ctrl+Shift+P)
  2. 运行命令 Dongx: Set Environment Variables
  3. 确认操作
  4. 扩展将添加以下默认环境变量到终端设置:

自定义配置

在 VS Code 设置中搜索 "dongx",可修改:

  • dongx.anthropicBaseUrl - Anthropic API Base URL
  • dongx.anthropicApiKey - Anthropic API Key
  • dongx.autoSetOnActivation - 扩展激活时自动设置变量

移除变量

  1. 打开命令面板
  2. 运行 Dongx: Remove Environment Variables
  3. 确认移除

系统要求

  • VS Code 1.74.0 或更高版本

许可证

MIT License

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