Help Center/ CodeArts Agent/ FAQs/ Chat History/ What Do I Do If the Chat History Cannot Auto-Wrap?
Updated on 2026-07-29 GMT+08:00

What Do I Do If the Chat History Cannot Auto-Wrap?

Symptom

JetBrains IDEs include PyCharm, IntelliJ IDEA, WebStorm, and CLion. This section uses IntelliJ IDEA as an example.

You can click in the upper right corner to view the chat history. However, when you select the "Bubble Sort" session from the history panel, the conversation content may appear on a single line without automatic text wrapping. This occurs when the retrieved conversation contains a large volume of text.

Cause Analysis

CodeArts Agent uses the off-screen rendering mode.

Solution

  1. Start IntelliJ IDEA, click in the upper left corner, and choose File > Settings. The IDE settings page is displayed.
  2. Choose CodeArts Agent > General Settings, deselect ide.browser.jcef.codearts.osr.enabled, and click OK.

    Figure 1 Modifying off-screen rendering

  3. Save the settings, click in the upper left corner, choose File > Invalidate Caches, and click Just restart.
  4. After restarting the IDE, click (the CodeArts Agent icon) in the sidebar, and click in the upper right corner to access the chat history. Check the "Bubble Sort" session again and confirm that the conversation content wraps properly.
  5. If the issue persists, submit a service ticket to get help from Huawei Cloud customer service.