Line numbers appear garbled in code diff display within VSCode chat panel
Resolved 💬 3 comments Opened May 3, 2026 by yasu-code-vibe Closed May 6, 2026
Description
Line numbers appear garbled/corrupted in the chat panel when Claude Code displays code modifications or diffs inside the VSCode extension.
Steps to Reproduce
- Open a project in VSCode with the Claude Code extension installed
- Ask Claude to modify code in a file
- Observe the code modification section displayed in the chat panel
- The line numbers shown alongside the code appear as garbled/corrupted characters
Expected Behavior
Line numbers should display correctly as readable digits (e.g., 1, 2, 3...).
Actual Behavior
Line numbers appear as garbled or corrupted characters in the chat panel's code display area.
Environment
- Platform: Windows 11
- Editor: VSCode with Claude Code extension
- The issue appears in the Webview-based chat panel
Notes
This appears to be a rendering issue specific to the Webview component used by the extension, as VSCode editor font settings do not apply to the chat panel. Adding fonts in VSCode settings does not resolve the issue.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗