vscode-cc-login-free
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseVS Code Claude Code 免登录配置工具
VS Code Claude Code 免登录配置工具
此工具将自动配置 VS Code 中的 Claude Code 插件,使其无需登录即可使用。
此工具将自动配置 VS Code 中的 Claude Code 插件,使其无需登录即可使用。
功能
功能
- 自动读取 Claude CLI 配置 ()
~/.claude/settings.json - 转换并写入 VS Code 插件配置
- 检测并自动配置 Git Bash 环境变量(解决 spawn EPERM 问题)
- 跨平台支持 (Windows/macOS/Linux)
- 自动读取 Claude CLI 配置 ()
~/.claude/settings.json - 转换并写入 VS Code 插件配置
- 检测并自动配置 Git Bash 环境变量(解决 spawn EPERM 问题)
- 跨平台支持 (Windows/macOS/Linux)
前置条件
前置条件
- 已安装 VS Code
- 已安装 Claude Code CLI
- 已在终端中完成 Claude Code 登录配置
- 已安装 VS Code
- 已安装 Claude Code CLI
- 已在终端中完成 Claude Code 登录配置
配置映射
配置映射
| Claude CLI 配置 | VS Code 插件配置 |
|---|---|
| |
| |
| |
| |
| |
| Claude CLI 配置 | VS Code 插件配置 |
|---|---|
| |
| |
| |
| |
| |
执行配置
执行配置
请执行以下 Python 脚本完成配置:
bash
undefined请执行以下 Python 脚本完成配置:
bash
undefinedmacOS / Linux
macOS / Linux
python ~/.claude/skills/vscode-cc-login-free/scripts/configure.py
python ~/.claude/skills/vscode-cc-login-free/scripts/configure.py
Windows
Windows
python %USERPROFILE%.claude\skills\vscode-cc-login-free\scripts\configure.py
undefinedpython %USERPROFILE%.claude\skills\vscode-cc-login-free\scripts\configure.py
undefined常见问题
常见问题
spawn EPERM 错误
spawn EPERM 错误
如果遇到 错误,通常是 Git Bash 未添加到 PATH 环境变量导致。
spawn EPERM解决方案:
- 运行此脚本会自动检测并尝试添加
- 如自动添加失败,手动添加 Git Bash 到 PATH:
- 路径通常是:
C:\Program Files\Git\bin
- 路径通常是:
- 重启 VS Code
如果遇到 错误,通常是 Git Bash 未添加到 PATH 环境变量导致。
spawn EPERM解决方案:
- 运行此脚本会自动检测并尝试添加
- 如自动添加失败,手动添加 Git Bash 到 PATH:
- 路径通常是:
C:\Program Files\Git\bin
- 路径通常是:
- 重启 VS Code
配置未生效
配置未生效
- 确保 VS Code 已完全关闭后重新打开
- 检查 VS Code settings.json 是否正确写入
- 确认 Claude CLI 配置文件存在且格式正确
- 确保 VS Code 已完全关闭后重新打开
- 检查 VS Code settings.json 是否正确写入
- 确认 Claude CLI 配置文件存在且格式正确