[BUG] VS Code extension - new look mode - diff boxes not in fixed width
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript, vscode
- Domain
- frontend
Research direction
Start by locating the VS Code extension’s new look chat panel and the component or styles that render diff boxes; compare their font styling with code blocks and classic mode. Reproduce with an edit containing indented code, then verify diff text uses a monospace font and its indentation and columns align.
Written by the indexing model from the issue text.
Description
Preflight Checklist
- I have searched existing issues and this hasn't been reported yet
- This is a single bug report (please file separate reports for different bugs)
- I am using the latest version of Claude Code
What's Wrong?
Description
In new look mode, the text inside diff boxes uses a proportional font where it should use a fixed-width (monospace) one. Indentation and alignment come out uneven, so it's hard to read the structure of the changed code. Classic mode shows the same diffs in monospace.
Steps to reproduce
Turn on new look mode in the Claude Code VS Code extension.
Ask Claude to edit a file with indented code, such as nested blocks, YAML or a table in markdown.
Look at the diff box in the chat panel.
Expected behaviour
Diff content uses the editor's monospace font, or at least a monospace fallback, as code blocks and classic mode do. Indentation and column alignment stay intact.
Actual behaviour
Diff content uses a proportional font. Indented lines don't line up, and spaces and characters have different widths, so the code loses its layout.
What Should Happen?
Diff text uses a monospace font.
Indentation and column alignment match the file in the editor.
Added and removed lines line up character for character, so the changes are easy to compare.
Error Messages/Logs
Steps to Reproduce
Turn on new look mode in the Claude Code VS Code extension.
Ask Claude to edit a file with indented code, such as nested blocks, YAML or a table in markdown.
Look at the diff box in the chat panel.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
Version 2.1.334
Platform
Other
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
No response
- Dominant language
- TypeScript
- Stars
- 158k
- Forks
- 25.1k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from anthropics/claude-code
-
area:docs area:permissions area:sandbox documentation enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
anthropics/claude-code#113492 ·
-
area:vscode enhancement platform:linux platform:vscode
Difficulty 1/5 Under an hour Newbie friendliness 83/100
anthropics/claude-code#113477 ·
-
[DOCS] The glossary has no entry for "project", so three different things share one undefined wordOpenarea:docs documentation enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
anthropics/claude-code#113464 ·
-
area:bash bug platform:linux
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
anthropics/claude-code#113387 ·
-
area:cli bug has repro platform:linux
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
anthropics/claude-code#113361 ·
All issues in anthropics/claude-code
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Add: Rajdhani TV HDOpencheck:passed streams:add
Difficulty 1/5 Under an hour Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
effort/l priority/p1 risk/high triage/core
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
iflytek/skillhub#1188 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Fission-AI/OpenSpec#2337 ·
Maintainers usually reply within 1 day
-
Edit Network Properties can't be closed in a narrow windowPossibly taken @hridhinvarkeyjoseph claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cytoscape/cytoscape-web#1027 ·
Maintainers usually reply within 1 day