Claude Code Panel Blank (Gray) in VS Code? Run Reload Window

スポンサーリンク
Claude Code Panel Blank (Gray) in VS Code? Run Reload Window Claude Code
スポンサーリンク

While I was using the Claude Code extension in VS Code, the Claude Code panel went completely blank (solid gray) and showed nothing. The rest of VS Code worked normally; only the inside of the Claude Code tab was broken.

Short answer: running “Developer: Reload Window” from the Command Palette brought it back. You don’t need to quit and reopen VS Code. This one command fixes it.

What happened

At the time I was driving Claude Code from a script of my own. The conversation tab turned solid gray, as in the image below (I renamed the tabs to “Session 1” etc. because the real names showed what I was working on).

The Claude Code tab in VS Code is solid gray with nothing displayed

Neither the input box nor the conversation history was visible. I don’t know why it happened, and I didn’t check whether my script had anything to do with it.

The fix: Developer: Reload Window

In VS Code, press Ctrl+Shift+P to open the Command Palette. Start typing the command below; it appears as a suggestion after a few letters.

Developer: Reload Window

The VS Code window reloaded, with the Claude Code panel displayed as usual again.

The VS Code documentation lists the Command Palette shortcut as Ctrl+Shift+P on Windows/Linux, Cmd+Shift+P (⇧⌘P) on macOS. I only tried it on Windows.

“Developer: Reload Window” reloads the VS Code window. The official docs also suggest it to apply a settings change, or when an item that should appear doesn’t. It’s quicker to try than quitting VS Code.

What I didn’t try

Reload Window fixed it for me, so I didn’t try anything else. If it doesn’t work for you, this is the order I’d go in:

  • Run “Developer: Restart Extension Host” from the Command Palette. It restarts only the part of VS Code that runs extensions, and it’s in the official docs too
  • Quit VS Code, then start it again
  • Install the latest version of the Claude Code extension from the Extensions view
  • Restart the PC

Summary

  • If only the Claude Code panel in VS Code goes blank (gray), first try Ctrl+Shift+P, then “Developer: Reload Window”
  • That command alone fixed it, without closing VS Code
  • The cause is unknown. It happened while a script of mine was driving Claude Code

References

コメント

Copied title and URL