Skip to main content
edited tags
Link
Gama11
  • 34.6k
  • 9
  • 92
  • 107
Source Link
Red Riding Hood
  • 2.7k
  • 1
  • 26
  • 43

Write initial settings to settings.json

I am looking for a way to write initial settings to settings.json for when my extension is installed.

I found WorkspaceConfiguration API, but that seems to retrieving/updating values at runtime.

I'm looking to get my settings + comments into the default settings file

e.g. How TSLint does it: enter image description here