Closed
Description
Problem
To my knowledge, there is no well supported way for an extension to contribute language specific settings, like so:
"[markdown]": {
"amazingExtension.enableUnicornMode": false
}
This actually works, but has some major issues:
- There is no way to specify a language specific setting in the contributes section's schema
- Entering the above configuration produces a warning for users
- To retrieve the setting, you have to write:
workspace.getConfiguration().get('[markdown]')['amazingExtension.enableUnicornMode']
Proposals
- Allow extensions to mark settings as being valid language specific settings.
- Add apis for better working with language specific settings