Skip to content

Decoration not applied to diff editors when "fontWeight" decoration is set #287011

Description

Does this issue occur when all extensions are disabled?: I don't know how to reproduce it without extensions because I'm using an extension for applying these decorations.

  • VS Code Version: 1.107.1
  • OS Version: macOS 12.5.1 (Monterey)

Steps to Reproduce:

  1. I have my "Highlight" extension installed.
  2. The default configuration for it should be able to reproduce the issue.
  3. Put two files in a comparison editor, I use my "Diff" extension for that.
  4. Write a todo like this somewhere in either file: "//TODO: askdjnaskjdn"
  5. Notice how the "//TODO:" part of is is not decorated, but the rest of is.
  6. Notice how removing the "fontWeight" decoration from the setting actually causes the whole thing to be highlighted, but it should just work with that decoration too, no idea why that breaks it.

Screen recording of me reproducing the issue:

Screen.Recording.2026-01-11.at.16.00.25.mov

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions