Repository navigation
Conversation
This was referenced Apr 10, 2026
…settings-targets # Conflicts: # AGENTS.md # extensions/configuration-editing/package.json # src/vs/platform/configuration/common/configuration.ts # src/vs/platform/configuration/common/configurationModels.ts # src/vs/platform/configuration/test/common/configurationModels.test.ts # src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.ts # src/vs/workbench/contrib/extensions/test/electron-browser/extensionRecommendationsService.test.ts # src/vs/workbench/contrib/preferences/browser/preferences.contribution.ts # src/vs/workbench/contrib/preferences/browser/preferencesEditor.ts # src/vs/workbench/contrib/preferences/browser/preferencesWidgets.ts # src/vs/workbench/contrib/preferences/browser/settingsEditor2.ts # src/vs/workbench/contrib/preferences/browser/settingsTreeModels.ts # src/vs/workbench/contrib/preferences/common/preferencesContribution.ts # src/vs/workbench/services/configuration/browser/configuration.ts # src/vs/workbench/services/configuration/browser/configurationService.ts # src/vs/workbench/services/configuration/common/configuration.ts # src/vs/workbench/services/configuration/common/configurationEditing.ts # src/vs/workbench/services/configuration/common/configurationModels.ts # src/vs/workbench/services/configuration/test/browser/configurationEditing.test.ts # src/vs/workbench/services/configuration/test/browser/configurationService.test.ts # src/vs/workbench/services/configuration/test/common/configurationModels.test.ts # src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.ts # src/vs/workbench/services/preferences/browser/preferencesService.ts # src/vs/workbench/services/preferences/common/preferences.ts # src/vscode-dts/vscode.d.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #5 for all approaches to this problem, this is
Approach 4 - First-Class Local Targets.This PR adds support for:
.vscode/{settings,tasks,launch,extensions}.local.jsonand corresponding*.code-workspace.localsections as first-class workspace targets with separate provenance, inspect semantics, and editing paths.Related to microsoft#40233.
Related to microsoft#282806.
Local workspace configuration files can exist as separate files today, but they are not represented as distinct configuration targets. Inspect results, write routing, settings UI where applicable, and file editing behavior therefore treat them as shared workspace state or loader-specific overlay state.
Example:
With this change, the local files are separate targets. The shared files remain shared workspace state. The local files remain local workspace state.
This PR adds explicit local workspace targets for folder workspaces and saved workspaces across the local workspace file family.
WORKSPACE_LOCALandWORKSPACE_FOLDER_LOCALto the configuration model and inspect surfaces.vscode/{settings,tasks,launch,extensions}.local.jsonand corresponding*.code-workspace.localsections as distinct local layersAlternative Approaches
.vscode/settings.local.json.vscode.local/{settings,tasks,launch,extensions}.json{settings,tasks,launch,extensions}.jsoncan callextendsto pull in other{settings,tasks,launch,extensions}.*.jsonfilesPros:
Cons: