Skip to content

removing color decorations when setting turned off - #323090

Merged
Aiday Marlen Kyzy (aiday-mar) merged 2 commits into
mainfrom
nutty-unicorn
Jun 26, 2026
Merged

Aiday Marlen Kyzy (aiday-mar) merged 2 commits into
mainfrom
nutty-unicorn

Conversation

@aiday-mar

@aiday-mar Aiday Marlen Kyzy (aiday-mar) commented Jun 26, 2026 •

Copy link
Copy Markdown
Collaborator

fixes #319934

Copilot AI review requested due to automatic review settings June 26, 2026 09:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the editor’s color decorator detection so that disabling color decorators also clears any existing color decorations, keeping the editor display consistent with the current setting.

Changes:

  • Clear all existing color decorations when updateColors() runs while color decorators are disabled.

Comment on lines 124 to 129
private updateColors(): void {
this.stop();

if (!this._isColorDecoratorsEnabled) {
this.removeAllDecorations();
return;
@aiday-mar
Aiday Marlen Kyzy (aiday-mar) merged commit 2983be3 into main Jun 26, 2026
29 checks passed
@aiday-mar
Aiday Marlen Kyzy (aiday-mar) deleted the nutty-unicorn branch June 26, 2026 10:18
@vs-code-engineering vs-code-engineering Bot added this to the 1.127.0 milestone Jun 26, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Aug 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Markdown editor.colorDecorators: false not honored on startup; likely race condition

3 participants