"Claude Code Extension Not Detected in VSCode Terminal"
Bug Description
I have VSCode and the code command is working, but when when I enter Claude Code vie VSCode's integrated terminal and do /ide it says "No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running."
Environment Info
- Platform: macos
- Terminal: vscode
- Version: 1.0.3
- Feedback ID: 8bd6b0ad-2efd-4d0e-8884-54544d57da3c
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at __node_internal_genericNodeError (node:internal/errors:865:15)\n at checkExecSyncError (node:child_process:890:11)\n at execSync (node:child_process:962:15)\n at cG (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:644:3513)\n at file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:574:15313\n at Q (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:532:13335)\n at sR1 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:574:14562)\n at aI (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:574:14179)\n at FU2 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1965:20997)\n at file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:2363:2019","timestamp":"2025-05-24T14:49:05.301Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/islam/.claude/ide'\n at Module.readdirSync (node:fs:1525:3)\n at Object.readdirSync (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:540:1519)\n at UD0 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1318:16584)\n at QS4 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1319:555)\n at HD0 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1319:2305)\n at TD0 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1319:5754)\n at file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:2438:2017\n at b7 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:21374)\n at hZ (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:40861)\n at wW (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:34915)","timestamp":"2025-05-24T14:49:05.338Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/islam/.claude/ide'\n at Module.readdirSync (node:fs:1525:3)\n at Object.readdirSync (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:540:1519)\n at UD0 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1318:16584)\n at Da (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1319:2580)\n at HD0 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1319:2372)","timestamp":"2025-05-24T14:49:05.404Z"},{"error":"Error: 1: ENOENT \n at YS4 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1319:3579)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async DS4 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1319:1936)","timestamp":"2025-05-24T14:49:05.421Z"},{"error":"AxiosError: Request failed with status code 401\n at SH (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:570:1070)\n at IncomingMessage.NA (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:571:9969)\n at IncomingMessage.emit (node:events:529:35)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1400:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n at oc.request (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:573:2081)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async njA (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:574:10916)\n at async um9 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:574:1363
Note: Error logs were truncated.
Thanks for the report, would love to track this down.
What does /status say in Claude Code? Does the Claude Code extension show up in the list of extensions in VSCode? Do you see anything at ~/.claude/ide?
Hi.
Claude Code extension doesn't show up in the list of extensions in VSCode.
~/.claude/ide doesn't exist.
/status gives me this:
Claude Code Status v1.0.5
Working Directory L /Users/islam/dev/textile/recall-synchronizer
IDE Integration • /config ⚠ Error installing VS Code extension: 1: ENOENT Please restart your IDE and try again.
MCP servers • /mcp ✔ brave-search ✔ puppeteer ✔ memory ✔ iterm-mcp ✔ browser-tools-mcp ✔ playwright
Account • /login L Login Method: Claude Max Account (20x) L Email: @.***
Memory • /memory L project: CLAUDE.md
Model • /model L Default Use Opus up to 50% of Max usage limits, then Sonnet (currently Opus)
Cheers, Islam
On Wed, 28 May 2025 at 21:51, igorkofman @.***> wrote:
igorkofman left a comment (anthropics/claude-code#1289) https://github.com/anthropics/claude-code/issues/1289#issuecomment-2917446180
Thanks for the report, would love to track this down.
What does /status say in Claude Code? Does the Claude Code extension show up in the list of extensions in VSCode? Do you see anything at ~/.claude/ide?
— Reply to this email directly, view it on GitHub https://github.com/anthropics/claude-code/issues/1289#issuecomment-2917446180, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7KFU6EJA4UFLX2R3LJTLL3AYHVLAVCNFSM6AAAAAB52UPDKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMJXGQ2DMMJYGA . You are receiving this because you authored the thread.Message ID: @.***>
Thanks!
What does type code return in vscode terminal?
$ type code code is /usr/local/bin/code
FYI, I have VSCode, VSCode - Insiders and Cursor installed on my machine. I don't know if it's relevant. But all of them say "No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running." on /ide
On Thu, 29 May 2025 at 22:50, igorkofman @.***> wrote:
igorkofman left a comment (anthropics/claude-code#1289) https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920553260
Thanks! What does type code return in vscode terminal?
— Reply to this email directly, view it on GitHub https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920553260, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7KFU2OICN374YJ4DVSRLD3A5XJVAVCNFSM6AAAAAB52UPDKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMRQGU2TGMRWGA . You are receiving this because you authored the thread.Message ID: @.***>
Let's focus on VSCode to start. I'll assume "type code" was run there.
What does code --help say in vscode terminal?
What is the default shell in vscode terminal?
On Thu, May 29, 2025 at 1:56 PM Islam Aliev @.***> wrote:
islamaliev left a comment (anthropics/claude-code#1289) https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920564706 $ type code code is /usr/local/bin/code
FYI, I have VSCode, VSCode - Insiders and Cursor installed on my machine. I don't know if it's relevant. But all of them say "No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running." on /ide
On Thu, 29 May 2025 at 22:50, igorkofman @.***> wrote:
igorkofman left a comment (anthropics/claude-code#1289) < https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920553260>
Thanks! What does type code return in vscode terminal?
— Reply to this email directly, view it on GitHub < https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920553260>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/AA7KFU2OICN374YJ4DVSRLD3A5XJVAVCNFSM6AAAAAB52UPDKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMRQGU2TGMRWGA>
. You are receiving this because you authored the thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920564706, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADSWQVOAGLUDGQBDYRCGM33A5X6NAVCNFSM6AAAAAB52UPDKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMRQGU3DINZQGY . You are receiving this because you were assigned.Message ID: @.***>
yes, I use VSCode. Default shell is bash.
$ code --help Visual Studio Code 1.100.2
Usage: code [options][paths...]
To read from stdin, append '-' (e.g. 'ps aux | grep code | code -')
Options
-d --diff
Extensions Management --extensions-dir
Troubleshooting
-v --version Print version.
--verbose Print verbose output (implies
--wait).
--log
Subcommands tunnel Make the current machine accessible from vscode.dev or other machines through a secure tunnel serve-web Run a server that displays the editor UI in browsers.
On Thu, 29 May 2025 at 23:05, igorkofman @.***> wrote:
igorkofman left a comment (anthropics/claude-code#1289) https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920581731 Let's focus on VSCode to start. I'll assume "type code" was run there. What does
code --helpsay in vscode terminal? What is the default shell in vscode terminal?On Thu, May 29, 2025 at 1:56 PM Islam Aliev @.***> wrote:
islamaliev left a comment (anthropics/claude-code#1289) < https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920564706>
$ type code code is /usr/local/bin/code
FYI, I have VSCode, VSCode - Insiders and Cursor installed on my machine. I don't know if it's relevant. But all of them say "No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running." on /ide
On Thu, 29 May 2025 at 22:50, igorkofman @.***> wrote:
igorkofman left a comment (anthropics/claude-code#1289) <
https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920553260>
Thanks! What does type code return in vscode terminal?
— Reply to this email directly, view it on GitHub <
https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920553260>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AA7KFU2OICN374YJ4DVSRLD3A5XJVAVCNFSM6AAAAAB52UPDKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMRQGU2TGMRWGA>
. You are receiving this because you authored the thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub < https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920564706>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/AADSWQVOAGLUDGQBDYRCGM33A5X6NAVCNFSM6AAAAAB52UPDKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMRQGU3DINZQGY>
. You are receiving this because you were assigned.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920581731, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7KFU5DHYRAPHZRUUI7LZ33A5ZAHAVCNFSM6AAAAAB52UPDKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMRQGU4DCNZTGE . You are receiving this because you authored the thread.Message ID: @.***>
Same here on MacOS and latest VSCode using fish from VS Code.
type code `
code is /opt/homebrew/bin/code
claude
/status
Claude Code Status v1.0.6
Working Directory
L ~/Git/test
IDE Integration • /config
⚠ Error installing VS Code extension: 1: ENOENT
Please restart your IDE and try again.
MCP servers • /mcp
✔ sequential-thinking
✔ puppeteer
L linear-mcp
Account • /login
L Login Method: Claude Max Account
L Email: xxx
Memory • /memory
L project: CLAUDE.md
Model • /model
L Default Opus 4 for up to 50% of usage limits, then use Sonnet 4 (currently Opus)
Hey folks, I believe we've resolved this issue. Please let us know if you see it again.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.