Skip to content

Update copilotCLI hint setting#309866

Merged
cwebster-99 merged 2 commits intomainfrom
ancient-silverfish
Apr 14, 2026
Merged

Update copilotCLI hint setting#309866
cwebster-99 merged 2 commits intomainfrom
ancient-silverfish

Conversation

@cwebster-99
Copy link
Copy Markdown
Member

Configuration changes for Copilot CLI terminal hint:

  • Renamed the CopilotCli setting ID from terminal.integrated.initialHint.copilotCli to terminal.integrated.initialHintCopilotCli for consistency in naming conventions and to prevent conflicts with parent setting
  • Added an experiment field with mode: 'auto' to the Copilot CLI initial hint configuration, enabling it to be managed as an experimental feature.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the terminal initial hint configuration to support an experiment-controlled Copilot CLI hint and aligns the setting ID naming.

Changes:

  • Renamed the Copilot CLI initial hint setting ID to terminal.integrated.initialHintCopilotCli.
  • Added an experiment field with mode: 'auto' for the Copilot CLI hint setting.
Show a summary per file
File Description
src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.ts Renames the Copilot CLI hint setting ID and adds experiment metadata to its configuration schema

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 2

Comment on lines 11 to 14
export const enum TerminalInitialHintSettingId {
Enabled = 'terminal.integrated.initialHint',
CopilotCli = 'terminal.integrated.initialHint.copilotCli',
CopilotCli = 'terminal.integrated.initialHintCopilotCli',
}
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renaming a public setting ID is a breaking change for existing user/workspace settings (the old key will stop applying). Consider keeping the old terminal.integrated.initialHint.copilotCli setting as a deprecated alias in the configuration schema (with a deprecation message) and migrating/bridging it to the new ID so existing configurations continue to work.

Copilot uses AI. Check for mistakes.
@@ -25,6 +25,9 @@ export const terminalInitialHintConfiguration: IStringDictionary<IConfigurationP
markdownDescription: localize('terminal.integrated.initialHint.copilotCli', "When enabled, the terminal initial hint will suggest using Copilot CLI by typing {0} instead of opening Copilot Chat.", '`copilot`'),
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The localization key still uses the old setting ID (terminal.integrated.initialHint.copilotCli) even though the setting ID was renamed. To keep keys discoverable and reduce confusion for future maintenance/translation updates, update the localization key to match the new setting ID (or add an explicit comment explaining why the old key is intentionally retained).

Suggested change
markdownDescription: localize('terminal.integrated.initialHint.copilotCli', "When enabled, the terminal initial hint will suggest using Copilot CLI by typing {0} instead of opening Copilot Chat.", '`copilot`'),
markdownDescription: localize('terminal.integrated.initialHintCopilotCli', "When enabled, the terminal initial hint will suggest using Copilot CLI by typing {0} instead of opening Copilot Chat.", '`copilot`'),

Copilot uses AI. Check for mistakes.
@github-actions
Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 8c13c3b9 Current: a3ad5d29

Changed (1)

editor/inlineCompletions/other/JumpToHint/Dark
Before After
before after

@cwebster-99 cwebster-99 added the ~release-cherry-pick Trigger: cherry-pick this PR to the latest release branch label Apr 14, 2026
@vs-code-engineering
Copy link
Copy Markdown
Contributor

This PR will be automatically cherry-picked to release/1.116 when merged.

@cwebster-99 cwebster-99 merged commit d87671d into main Apr 14, 2026
30 checks passed
@cwebster-99 cwebster-99 deleted the ancient-silverfish branch April 14, 2026 15:45
@vs-code-engineering vs-code-engineering Bot added this to the 1.116.0 milestone Apr 14, 2026
@vs-code-engineering vs-code-engineering Bot added release-cherry-pick Automated cherry-pick between release and main branches and removed ~release-cherry-pick Trigger: cherry-pick this PR to the latest release branch labels Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-cherry-pick Automated cherry-pick between release and main branches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants