Chat: hide Apply in Editor from Command Palette#283486
Merged
aeschli merged 1 commit intomicrosoft:mainfrom Dec 16, 2025
Merged
Chat: hide Apply in Editor from Command Palette#283486aeschli merged 1 commit intomicrosoft:mainfrom
aeschli merged 1 commit intomicrosoft:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR hides the "Chat: Apply in Editor" command from the Command Palette (F1) to prevent it from appearing in contexts where it cannot be used effectively, such as when launching VS Code on an empty workspace with no Copilot setup. The command remains accessible through its intended UI entry points (chat codeblock menus and keyboard shortcuts).
Key Changes
- Modified the "Apply in Editor" action registration to set
f1: false, preventing it from appearing in the Command Palette
aeschli
approved these changes
Dec 16, 2025
Contributor
|
Thanks! |
dmitrivMS
reviewed
Dec 16, 2025
| title: localize2('interactive.applyInEditor.label', "Apply in Editor"), | ||
| precondition: ChatContextKeys.enabled, | ||
| f1: true, | ||
| f1: false, |
Contributor
There was a problem hiding this comment.
Will this prevent getting a tooltip for the button?
dmitrivMS
approved these changes
Dec 16, 2025
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.
Fixes #253310
Summary
Chat: Apply in Editorcurrently appears in the Command Palette (F1) even when launching VS Code on an empty workspace with no Copilot setup. This PR hides the command from the Command Palette while keeping the action available from its intended chat/codeblock UI entry points.Change
f1: falsefor the "Apply in Editor" chat codeblock action registration.Testing