claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] claude code for vscode responds very slowly for the first time

Open cheezmil opened this issue 1 month ago • 3 comments

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

The Claude Code VSCode extension has a problem where it sends a message once in a new conversation in the secondary sidebar, and when using a custom API, the AI response is very slow, taking around 27 seconds to recover. Of course, Claude Code also freezes the VSCode terminal for 15 seconds before you can input text. Claude Code has a serious performance bug when starting up in VSCode for the first time. Using Claude in the Windows terminal is fine, but I still want to use it in VSCode.

What Should Happen?

fix

Error Messages/Logs


Steps to Reproduce

Claude Model

Sonnet (default)

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.0.55 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

Version: 1.107.0 (system setup) Commit: 618725e67565b290ba4da6fe2d29f8fa1d4e3622 Date: 2025-12-10T07:43:47.883Z Electron: 39.2.3 ElectronBuildId: 12895514 Chromium: 142.0.7444.175 Node.js: 22.21.1 V8: 14.2.231.21-electron.0 OS: Windows_NT x64 10.0.22631

cheezmil avatar Dec 17 '25 04:12 cheezmil

In version v2.0.71 this is fixed

cheezmil avatar Dec 21 '25 04:12 cheezmil

When I didn't say it, v2.0.71 Claude code CLI responded faster, which is normal, but v2.0.75 Claude Code for VS Code still freezes for at least 20 seconds or so in the first conversation.

cheezmil avatar Dec 21 '25 07:12 cheezmil

The extension 2.0.75 is till quite slow than cli

patrick0827 avatar Dec 26 '25 16:12 patrick0827