Repository navigation
fix #273163 - #280609
Merged
Merged
fix #273163#280609
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes issue #273163 by correcting the configuration settings grouping logic to properly handle configurations with the same ID but different titles from the same extension. The fix ensures that titled groups are not incorrectly matched when searching by ID, preventing settings from being merged into the wrong group.
Key Changes
- Modified the settings group lookup logic to only match untitled groups when searching by ID
- Added comprehensive test suite covering 8 different scenarios for settings grouping behavior
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/vs/workbench/services/preferences/common/preferencesModels.ts | Added && !g.title condition to line 609 to prevent titled groups from being matched during ID-based group lookup |
| src/vs/workbench/services/preferences/test/common/preferencesModels.test.ts | New test file with comprehensive coverage of settings grouping scenarios including edge cases for title/ID combinations and extension ID handling |
Sandeep Somavarapu (sandy081)
marked this pull request as ready for review
December 3, 2025 07:54
Sandeep Somavarapu (sandy081)
enabled auto-merge (squash)
December 3, 2025 07:54
Martin Aeschlimann (aeschli)
approved these changes
Dec 3, 2025
4 tasks
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
fix #273163