Skip to content

Add indicator, fixes #148672 - #149294

Merged
Raymond Zhao (rzhao271) merged 2 commits into
mainfrom
rzhao271/se-ecdso-indicator
May 19, 2022
Merged

Raymond Zhao (rzhao271) merged 2 commits into
mainfrom
rzhao271/se-ecdso-indicator

Conversation

@rzhao271

Copy link
Copy Markdown
Collaborator

This PR fixes #148672

We can finally obtain the correct extension source for extension-contributed language-specific default value overrides. Therefore, the PR adds in the default value source in the case of language-specific settings, so that the default override indicator can be displayed for language-specific settings where applicable.

A screenshot showing a default override indicator on the editor.wordWrap setting with the Markdown language filter

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@rzhao271

Copy link
Copy Markdown
Collaborator Author

It turns out that language tag settings like [markdown] were also getting default override indicators. These settings show up when a user searches something like "markdown" in the Settings editor search bar while there is no language filter.

We don't want to show indicators for language tag settings because the user would not see these settings when applying the language filter anyway. If we showed the indicator, the user might be confused on where the setting went after they apply the language filter to try and see the overridden values for that setting.

@rzhao271
Raymond Zhao (rzhao271) force-pushed the rzhao271/se-ecdso-indicator branch from b1ae8b9 to 22e1b21 Compare May 18, 2022 20:56

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

This PR adds a default override indicator to extension-contributed
language-specific default setting overrides.
@rzhao271
Raymond Zhao (rzhao271) force-pushed the rzhao271/se-ecdso-indicator branch from 22e1b21 to 2107a5a Compare May 19, 2022 14:23
@rzhao271
Raymond Zhao (rzhao271) merged commit a3243b2 into main May 19, 2022
@rzhao271
Raymond Zhao (rzhao271) deleted the rzhao271/se-ecdso-indicator branch May 19, 2022 15:12
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 3, 2022
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.

Improve support for language-specific default override indicators

2 participants