launchdarkly / ld-vscode

VSCode extension for LaunchDarkly
https://www.launchdarkly.com
Other
17 stars 8 forks source link

Add support for a config file #19

Closed CarloPalinckx closed 4 years ago

CarloPalinckx commented 4 years ago

It would be great if there was support for a config file to set the extension's options. This way it can be versioned in a codebase which avoids every developer having to configure the extension.

atrakh commented 4 years ago

Hi @CarloPalinckx,

You may version your VSCode project settings by checking in .vscode/settings.json into version control. The .vscode/settings.json should automatically be created when you change your "workspace" settings. ~Please do take note that VSCode does not currently support variable values in your configuration (https://github.com/launchdarkly/ld-vscode/issues/15), so we'd advise against checking your LaunchDarkly SDK key into version control.~

atrakh commented 4 years ago

Update: As of 2.2.0, the LaunchDarkly: Configure command allows configuration of the extension without storing secrets in settings.json