type ConfigurationTarget = ConfigurationTarget;Aliased Type§
enum ConfigurationTarget {
UserLocal = 1,
User = 2,
Workspace = 3,
WorkspaceFolder = 4,
Default = 5,
Memory = 6,
Policy = 7,
}Variants§
UserLocal = 1
Target the user settings file for the local machine.
User = 2
Target the user settings, potentially synced across machines.
Workspace = 3
Target the workspace settings file (e.g., .vscode/settings.json).
WorkspaceFolder = 4
Target a specific folder’s settings in a multi-root workspace.
Default = 5
Target the default values (typically a read-only operation).
Memory = 6
Target the in-memory configuration for the current session only.
Policy = 7
Target the policy-enforced configuration (read-only).