-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document that single language specific settings take precedence over multi language specific settings #7773
Comments
@adusamr It is not clear to me from the issue description what is expected and what is actually happening. Can you please update the issue and let us know what you expect and what you are observing. Thanks. |
I read https://code.visualstudio.com/docs/getstarted/settings and now I understand a part of the issue was documented behavior. Then the real problem or undocumented behavior is "single language-specific settings is preceding to multiple language-specific settings" even if the single language-specific settings are default settings and the multiple language-specific settings are user settings. {
"editor.fontSize": 14,
"editor.wordWrap": "off",
"[markdown]": {
"editor.wordWrap": "on"
}
} In the image, the right column is user's settings.json. The middle column is plaintext and its font size is 20 and word wrap is off. The "[markdown][plaintext]" user settings is correctly working. The left column is markdown. If you uncomment the |
Yes, single language specific settings takes precedence over multiple language specific settings. I will move this to our docs repo to make sure it is documented. |
Does this issue occur when all extensions are disabled?: Yes/No
defaultSettings.json is like this:
In user's settings.json,
or
do not overwrite these settings in markdown.
Only
can overwrite these settings.
I don't know whether this happens for other settings.
I found this when testing microsoft/vscode#233503 (comment)
The text was updated successfully, but these errors were encountered: