vscode-workspace-config-plus
vscode-workspace-config-plus copied to clipboard
Should we support OS specific configurations?
It would be fairly straightforward to expand our current supported features to also give folks the option to define platform-specific configuration files, e.g. settings.shared.json and settings.shared.{linux,darwin,windows}.json, to allow for platform specific overrides/shared configurations.
I don't have any concrete use cases in mind, but I do envision there's scenarios that could benefit from this especially when it comes to configurations like launch/debug settings.
Essentially, this would extend the configuration resolution priority order to something like the below list (settings.json used as an example, but would apply to all supported files):
settings.local.{linux,darwin,window}.jsonsettings.local.jsonsettings.shared.{linux,darwin,windows}.jsonsettings.shared.json
I can take a look at this feature, is there anything I should consider before starting?
I can take a look at this feature, is there anything I should consider before starting?
That's an incredible offer, thank you! I don't know if there's anything in particular per se as far as implementation goes, but probably worth thinking through file names (e.g. will "darwin" resonate and be sufficiently obvious to all Mac users) as well as automated testing strategies that account for platform specifics (i.e. more functional style tests that can validate platform-specific behavior)