Open irvnriir opened 4 years ago
Can you explain more about what you are looking for? Are you talking about settings like editor.autoClosingBrackets
? You can set those to affect all languages, or override them per language.
@roblourens
from language-configuration.json : autoClosingPairs
, surroundingPairs
, folding
.
editor.autoClosingBrackets
somewhy can be overwritten by Language (even if not set to "languageDefined"), for example in Armitxes.sqf.
Can you give me an example of the exact issue you are having?
what?
settings.json : ,"editor.autoClosingBrackets": "beforeWhitespace"
%extensions%\armitxes.sqf-2.0.3\package.json : ,"editor.autoClosingBrackets": "always"
The 2nd setting is used. (isssue)
autoClosingPairs
, surroundingPairs
, folding
that are present in language-configuration.json -s in default Language extensions, can't be set language-independent in settings.json . (isssue)
The request to allow users to configure autoclosing pairs is https://github.com/microsoft/vscode/issues/38352 Folding markers is: https://github.com/microsoft/vscode/issues/36002
The folding ask is about using Indentation together with "Open" and "Close" Tags . Unlike the linked 1 .
I think this issue might be resolved if we would allow specifying language configurations in settings.json.
Please add functionality to: set all Autoclosing, Surrounding, Indentation settings and enable Intendation Folding (if possible, on top of language specific one); so they could not be overwritten by Language configs.
When multiple languages are used, the kaleidoscope switching of these settings are disturbing and/or loading the memory for no use. And editing the config files for each language is inconsistent and long.