IDE Detection Failure in VS Code Remote SSH Environment

Resolved 💬 6 comments Opened Jul 8, 2025 by pangzss Closed Jan 9, 2026

Bug Description
Issue: Claude Code IDE detection fails in VS Code Remote SSH environment

Details:

  • Running Claude Code 1.0.44 via Remote SSH connection
  • VS Code extension anthropic.claude-code@1.0.44 is installed and active
  • Running from VS Code's integrated terminal (confirmed by TERM_PROGRAM=vscode)
  • /ide command returns "The IDE cannot be detected but you did install the Claude Code for VSCODE extension"
  • All standard troubleshooting steps attempted (restarting VS Code, reinstalling extension, running from correct terminal)
  • claude doctor shows healthy installation

Environment:

  • Platform: Linux (Remote SSH)
  • VS Code version: 1.101.2
  • Running via vscode-server in remote environment
  • Terminal shows proper VS Code environment variables

Expected: IDE integration should work in Remote SSH environments
Actual: IDE detection fails despite proper setup

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 1.0.44
  • Feedback ID: cc1b319b-0013-4ef1-af42-8fed9b513a24

Errors

[{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n    at Socket.onChildStdout (node:child_process:482:14)\n    at Socket.emit (node:events:507:28)\n    at Socket.emit (node:domain:489:12)\n    at addChunk (node:internal/streams/readable:559:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n    at Readable.push (node:internal/streams/readable:390:5)\n    at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-07-08T13:57:32.438Z"}]

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗