[BUG] VSCode extension: thinking blocks fail to render until reload

Status Fixed / completed
Reported on v2.1.29
Maintainer reply None cached
Activity 5 comments · opened Feb 10, 2026 · closed Feb 11, 2026

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?

VSCode Claude Code extension (Remote-SSH): When streaming thinking blocks, the thinking view will briefly flash before completely disappearing. Seems to be model-independent (Haiku, Sonnet[1m], Opus[1m]). Upon reloading the window, past thinking blocks will appear as normal (togglable).
Note that the CLI app doesn't seem to have any issues.

What Should Happen?

Thinking blocks shouldn't disappear.

Error Messages/Logs

Steps to Reproduce

  1. Open VSCode with Claude Code Extension
  2. Claude Code: Open in New Tab
  3. Send prompt to a reasoning model: hey just checking thinking block rendering -- make a haiku in your CoT
  4. Witness a flash of insight, pitiful in its lifespan, born only to be snuffed out by some rendering bug
  5. See the model generate output as normal. FWIW my last test said "All set! Thinking blocks are rendering cleanly. What's next?" -- clearly a hallucination, YMMV
  6. Developer: Reload Window
  7. Check on the chat and the thinking blocks will have reappeared from the ether

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.29

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

Note: tested on macOS and Windows 11, both SSH'ing into a linux (ubuntu) box.

VSCode:
Version: 1.109.0 (system setup)
Commit: bdd88df003631aaa0bcbe057cb0a940b80a476fa
Date: 2026-02-04T02:01:38.288Z
Electron: 39.3.0
ElectronBuildId: 13168319
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.22631

Extension:
Version: 2.1.38

View original on GitHub ↗

5 Comments

github-actions[bot] · 6 months ago

Found 2 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/24733
  2. https://github.com/anthropics/claude-code/issues/24691

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

wiwa · 6 months ago
Found 2 possible duplicate issues: 1. [[BUG] VS Code extension: assistant text and tool outputs disappear during streaming #24733](https://github.com/anthropics/claude-code/issues/24733) 2. [[BUG] Streaming text disappears entirely when followed by tool calls in same response #24691](https://github.com/anthropics/claude-code/issues/24691) This issue will be automatically closed as a duplicate in 3 days. If your issue is a duplicate, please close it and 👍 the existing issue instead To prevent auto-closure, add a comment or 👎 this comment 🤖 Generated with Claude Code
  1. Haven't seen assistant text nor tool outputs disappear (...probably?)
  2. Does not require a tool call for this to happen

For fun, here's what my Claude suggested I post (they even nicely highlighted it in green in the CLI):

 These are likely related (same v2.1.38 webview rendering pipeline) but distinct symptoms. #24691 and #24733 report permanent
  loss of streamed text/tool output. This issue is specifically about thinking blocks that flash then vanish but persist in state
   (reload restores them). The "reload restores" behavior suggests the rendering pass drops thinking blocks, not the state layer
  — which may help narrow the bug.
wiwa · 6 months ago

Possible remedy, a combination of:

  • Closing all Claude Code extensions
  • Settings (Feature > Chat > Agent > Thinking)
  • Collapsed Tools - off
  • Generate Titles - off
  • Thinking Style - collapsedPreview
  • (the above seem to not matter if you toggle them back after its fixed, so probably not that important)
  • Chat > Extension Unification - Disabled (remember to turn inline stuff on again if you want, click copilot icon on lower right)
  • Reload after all that

Unknown if because of the closing-everything or the toggling of settings, probably the former.

EDIT: Thinking is still not streaming it seems, just appearing after it's done. Not the same symptom, but unfortunately, this prevents users from being able to interrupt thinking going off the rails :(

tsukumijima · 6 months ago

In my environment (Cursor), as soon as the Claude Code VSCode Extension automatically updated from 2.1.38 to 2.1.39, the "Thinking" block stopped displaying until the entire thought process was complete.
I was able to fix this by downgrading the Claude Code VSCode Extension to 2.1.38.

Additionally, related to this, there has been an issue since older versions where a collapsed "Thinking process display block" doesn't expand when clicking the very first "Thinking" block in the chat history. Instead, expanding the previous thought block expands the entire set of thought blocks, which is counter-intuitive. Ideally, clicking any "Thinking" block should correctly unfold it.
Personally, I suspect that Anthropic's internal engineers barely use the IDE extension, treating it like a second-class citizen, which makes me very sad. I use this extension quite frequently (especially because the CLI cannot display the thinking process in real-time).

cc @bcherny

github-actions[bot] · 6 months ago

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.