IDE Integration Failure: Unable to Detect Active File and Selection Context
Resolved 💬 3 comments Opened Jul 24, 2025 by jison-jpeg Closed Aug 19, 2025
Bug Description
claude code could not connect my cursor ide. it cant detect which file i was to, or check the highlighted lines. in short, the claude code were not detecting my ide.
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 1.0.59
- Feedback ID: be4893ce-7471-4220-bc1f-d8ebb1d08cc0
Errors
[{"error":"Error: Command failed: tasklist | findstr /I \"Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\"\nFINDSTR: Cannot open Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\r\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:883:11)\n at execSync (node:child_process:955:15)\n at m7 (file:///C:/Users/jayso/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:865:5958)\n at Yt (file:///C:/Users/jayso/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1346:1937)\n at file:///C:/Users/jayso/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2753:9388\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async file:///C:/Users/jayso/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2501:7034\n at async Promise.all (index 12)","timestamp":"2025-07-24T04:58:23.484Z"},{"error":"AbortError: The operation was aborted\n at abortChildProcess (node:child_process:717:27)\n at AbortSignal.onAbortListener (node:child_process:787:7)\n at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n at runAbort (node:internal/abort_controller:486:10)\n at abortSignal (node:internal/abort_controller:457:3)\n at AbortController.abort (node:internal/abort_controller:505:5)\n at Timeout._onTimeout (file:///C:/Users/jayso/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2772:8225)\n at listOnTimeout (node:internal/timers:588:17)\n at process.processTimers (node:internal/timers:523:7)","timestamp":"2025-07-24T04:58:24.923Z"},{"error":"Error: Command failed: tasklist | findstr /I \"Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\"\nFINDSTR: Cannot open Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\r\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:883:11)\n at execSync (node:child_process:955:15)\n at m7 (file:///C:/Users/jayso/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:865:5958)\n at Yt (file:///C:/Users/jayso/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1346:1937)\n at Object.call (file:///C:/Users/jayso/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1880:2742)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-24T04:58:27.229Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗