Skip to content

Storage

James Foster edited this page Jun 21, 2019 · 2 revisions

VSCode provides JSON and file storage on a per-workspace basis and a global basis

  • ExtensionContext.workspaceState
  • ExtensionContext.globalState
  • ExtensionContext.storagePath
  • ExtensionContext.globalStoragePath We use the globalStoragePath for downloaded libraries.

VSCode also provides "settings" where the user can set configurations for the extension. We use this to collect login parameters.

Clone this wiki locally