Persist chat tips disablement across workspaces#295806
Merged
meganrogge merged 2 commits intomainfrom Feb 17, 2026
Merged
Conversation
Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix chat tips to preserve user preferences across workspaces
Persist chat tips disablement across workspaces
Feb 17, 2026
meganrogge
approved these changes
Feb 17, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes an issue where disabling chat tips was only persisted per-workspace, causing them to reappear when switching workspaces. The fix treats tip disablement as a user-level preference by using application-scoped configuration.
Changes:
- Mark
chat.tips.enabledconfiguration as application-scoped to share setting across all workspaces - Update
disableTips()to persist the setting toConfigurationTarget.APPLICATIONinstead of default target - Add unit test to verify that disablement writes to the application configuration target
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/browser/chat.contribution.ts | Add scope: ConfigurationScope.APPLICATION to chat.tips.enabled setting definition |
| src/vs/workbench/contrib/chat/browser/chatTipService.ts | Update disableTips() to use ConfigurationTarget.APPLICATION when persisting the setting |
| src/vs/workbench/contrib/chat/test/browser/chatTipService.test.ts | Add TrackingConfigurationService test helper and new test to verify application target is used |
Tyriar
approved these changes
Feb 17, 2026
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.
Chat tips were disabled per workspace, causing them to reappear when opening another workspace. This change treats disablement as a user-level choice.
chat.tips.enabledas application-scoped so it is shared across workspaces.disableTips()writes to the application target.Example:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.