Skip to content

Document that single language specific settings take precedence over multi language specific settings #7773

Open
@adusamr

Description

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.95.2 (user setup)
  • OS Version: Windows_NT x64 10.0.22631

defaultSettings.json is like this:

{
	"editor.unicodeHighlight.ambiguousCharacters": true,
	"editor.unicodeHighlight.invisibleCharacters": true,
	"[markdown]":  {
		"editor.unicodeHighlight.ambiguousCharacters": false,
		"editor.unicodeHighlight.invisibleCharacters": false,
	}
}

In user's settings.json,

{
	"editor.unicodeHighlight.ambiguousCharacters": true,
	"editor.unicodeHighlight.invisibleCharacters": true,
}

or

{
	"[markdown][plaintext]":  {
		"editor.unicodeHighlight.ambiguousCharacters": true,
		"editor.unicodeHighlight.invisibleCharacters": true,
	}
}

do not overwrite these settings in markdown.
Only

{
	"[markdown]":  {
		"editor.unicodeHighlight.ambiguousCharacters": true,
		"editor.unicodeHighlight.invisibleCharacters": true,
	}
}

can overwrite these settings.

I don't know whether this happens for other settings.
I found this when testing microsoft/vscode#233503 (comment)

Activity

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

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugdoc-bugout of date, inaccurate, confusing content

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions