You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The IDE lock file at ~/.claude/ide/*.lock shows correct VSCode detection when connected from external terminal
Diagnostic Info
From /status in VSCode integrated terminal:
IDE: ✘ Error installing VS Code extension: 1: 1 'code' is not recognized as an internal or external command,
operable program or batch file.
Please restart your IDE and try again.
From external terminal (working):
IDE lock file content:
{"pid":12484,"workspaceFolders":["c:\Users\..."],"ideName":"Visual Studio Code","transport":"ws","runningInWindows":true,"authToken":"..."}
Bug Description
When running Claude Code from VSCode's integrated terminal on Windows, the IDE detection fails with error:
However, running Claude Code from an external terminal (Windows Terminal/CMD) works correctly and can detect/connect to VSCode.
Environment
Steps to Reproduce
claude/ideor check Status pageExpected: IDE should be detected and connected
Actual: Error message "'code' is not recognized as an internal or external command"
Workaround
Running Claude Code from an external Windows Terminal works:
Additional Context
codecommand works fine when run directly in the same VSCode integrated terminal~/.claude/ide/*.lockshows correct VSCode detection when connected from external terminalDiagnostic Info
From
/statusin VSCode integrated terminal:From external terminal (working):
🤖 Generated with Claude Code