claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[FEATURE] VSCode extension code blocks should respect system/editor theme

Open garrettmoss opened this issue 1 year ago • 3 comments

Description

The VSCode extension renders code blocks in responses with what appears to be a dark syntax highlighting theme, regardless of the user's system theme or VSCode color theme settings.

Expected Behavior

Code blocks in Claude's responses should respect the user's VSCode color theme (or system theme when auto-detect is enabled), matching the syntax highlighting used in the editor itself.

Current Behavior

Code blocks appear to default to a dark theme syntax highlighting even when:

  • System theme is set to light mode
  • VSCode is configured with window.autoDetectColorScheme: true
  • VSCode light theme is active (e.g., Solarized Light)

Environment

  • Platform: macOS
  • VSCode theme: Solarized Light/Dark with auto-detect enabled
  • Extension: Claude Code VSCode extension

Additional Context

VSCode's built-in markdown preview and other extensions typically respect the active color theme for syntax highlighting. This would improve accessibility and reduce eye strain for users who switch between light/dark modes.

Related terminal issues: #2990, #1148 (but those are for TUI, not VSCode extension)

garrettmoss avatar Oct 03 '25 20:10 garrettmoss

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 07 '25 10:12 github-actions[bot]

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] avatar Jan 07 '26 10:01 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Jan 14 '26 14:01 github-actions[bot]