Help Center/ CodeArts Agent/ FAQs/ Extension/ What Should I Do If an Active Chat Is Lost When Dragging the Chat Window in Visual Studio Code?
Updated on 2026-07-29 GMT+08:00

What Should I Do If an Active Chat Is Lost When Dragging the Chat Window in Visual Studio Code?

Symptom

When you drag the chat window left or right in Visual Studio Code, the active chat is lost.

Cause Analysis

When you drag the chat window left or right in Visual Studio Code, the window layout changes. Due to the design mechanism of Visual Studio Code, the extension may be reloaded and the extension chat box may be redrawn. As a result, the active chat content is lost.

Solution

  1. Use a fixed layout and avoid frequent window adjustments. Using a fixed layout can reduce the frequency of extension reloads.
  2. If adjusting the chat window layout causes the extension to reload and the active chat to be lost, view and restore the chat through the chat history.