Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 8, 2025

The chat.disableAIFeatures setting requires a window reload to take effect, but no prompt was shown to users after changing it.

Changes

Added chat.disableAIFeatures to SettingsChangeRelauncher in /src/vs/workbench/contrib/relauncher/browser/relauncher.contribution.ts:

  • Added setting to monitored SETTINGS array
  • Added disableAIFeatures ChangeObserver to track value changes
  • Added change detection logic in update() method
  • Updated IConfiguration interface with disableAIFeatures property

When the setting changes, users now see a confirmation dialog with a "Reload" button. This follows the existing pattern used for other reload-requiring settings like chat.extensionUnification.enabled and telemetry.feedback.enabled.

Testing

Toggle chat.disableAIFeatures in Settings UI or JSON. Verify reload prompt appears with option to reload window immediately.

Original prompt

This section details on the original issue you should resolve

<issue_title>show 'Reload to take effect' modal/notification when enabling chat.disableAIFeatures</issue_title>
<issue_description>

Does this issue occur when all extensions are disabled?: Yes/No

I noticed that some AI features need a reload after flipping chat.disableAIFeatures. Lets prompt the user to reload so the editor works as expected? We have precedent for this with other settings.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Added the chat.disableAIFeatures setting to the SettingsChangeRelauncher to show a reload prompt when the setting changes, ensuring AI features are properly enabled/disabled after reload.

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
Copilot AI changed the title [WIP] Add reload notification when enabling chat.disableAIFeatures Prompt reload when chat.disableAIFeatures setting changes Dec 8, 2025
Copilot AI requested a review from joshspicer December 8, 2025 15:35
Copilot finished work on behalf of joshspicer December 8, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

show 'Reload to take effect' modal/notification when enabling chat.disableAIFeatures

2 participants