Skip to content

Commit

Permalink
Merge pull request #83166 from gregvanl/WorkspaceConfig
Browse files Browse the repository at this point in the history
WorkspaceConfiguration API clarifications
  • Loading branch information
Tyriar authored Oct 23, 2019
2 parents df402a4 + 563b597 commit d0cbf56
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/vs/vscode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4080,11 +4080,11 @@ declare module 'vscode' {
* - Workspace configuration (if available)
* - Workspace folder configuration of the requested resource (if available)
*
* *Global configuration* comes from User Settings and shadows Defaults.
* *Global configuration* comes from User Settings and overrides Defaults.
*
* *Workspace configuration* comes from Workspace Settings and shadows Global configuration.
* *Workspace configuration* comes from Workspace Settings and overrides Global configuration.
*
* *Workspace Folder configuration* comes from `.vscode` folder under one of the [workspace folders](#workspace.workspaceFolders).
* *Workspace Folder configuration* comes from `.vscode` folder under one of the [workspace folders](#workspace.workspaceFolders) and overrides Workspace configuration.
*
* *Note:* Workspace and Workspace Folder configurations contains `launch` and `tasks` settings. Their basename will be
* part of the section identifier. The following snippets shows how to retrieve all configurations
Expand Down Expand Up @@ -4133,9 +4133,9 @@ declare module 'vscode' {
* a workspace-specific value and a folder-specific value.
*
* The *effective* value (returned by [`get`](#WorkspaceConfiguration.get))
* is computed like this: `defaultValue` overwritten by `globalValue`,
* `globalValue` overwritten by `workspaceValue`. `workspaceValue` overwritten by `workspaceFolderValue`.
* Refer to [Settings Inheritance](https://code.visualstudio.com/docs/getstarted/settings)
* is computed like this: `defaultValue` overridden by `globalValue`,
* `globalValue` overridden by `workspaceValue`. `workspaceValue` overwridden by `workspaceFolderValue`.
* Refer to [Settings](https://code.visualstudio.com/docs/getstarted/settings)
* for more information.
*
* *Note:* The configuration name must denote a leaf in the configuration tree
Expand Down

0 comments on commit d0cbf56

Please sign in to comment.