microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
160.51k stars 28.1k forks source link

Allow to scope settings by platform #5595

Open jarod51 opened 8 years ago

jarod51 commented 8 years ago

Hi

I develop on 3 different platform. When synchronizing settings, snippets and so on, i often must change path, adjust font-size, etc...

So, it could be great if we had a per platform settings set (Windows, Mac, Unix)

sanmai-NL commented 2 weeks ago

You can use settings profiles nowadays. Maybe you can template them?

alexchexes commented 2 weeks ago

@sanmai-NL Could you please provide a bit more detail about your suggestion? I checked out the VSCode documentation, but it seems that templates refer to a predefined set of configurations used for different programming languages or common environments. Not sure how I could use that to keep all my settings in sync while having different font sizes on Mac and Windows...

sanmai-NL commented 2 weeks ago

I mean templating VS Code settings with an external tool, and putting the per-OS outputs in a dotfiles repository.

hermes85pl commented 2 weeks ago

What do you do in such cases (when Settings Sync is On)?

@alexchexes, one solution would be to treat such settings as device-specific and put them under settingsSync.ignoredSettings.

iwangbowen commented 2 weeks ago

Any updates