Skip to content

Add status bar options for inline completions#297120

Merged
benibenj merged 1 commit intomainfrom
benibenj/tiny-kangaroo
Feb 23, 2026
Merged

Add status bar options for inline completions#297120
benibenj merged 1 commit intomainfrom
benibenj/tiny-kangaroo

Conversation

@benibenj
Copy link
Copy Markdown
Contributor

Copilot Generated Description: Introduce new interfaces and functionality for managing provider options in inline completions, including UI elements for selecting options in the status bar.

Copilot AI review requested due to automatic review settings February 23, 2026 22:08
@benibenj benibenj enabled auto-merge February 23, 2026 22:08
@benibenj benibenj self-assigned this Feb 23, 2026
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 23, 2026
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

This pull request adds support for provider options in inline completions, allowing inline completion providers (like Copilot) to expose configurable options through the status bar UI. The changes enable extensions to define multiple provider options with selectable values that users can choose from a quick pick menu.

Changes:

  • Added new API interfaces InlineCompletionProviderOption and InlineCompletionProviderOptionValue to the proposed API and internal types
  • Implemented UI components in the chat status dashboard to display and select provider options
  • Added protocol support for provider options including methods to set option values and events to notify of option changes

Reviewed changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts Adds proposed API for provider options including interfaces and event handlers
src/vs/editor/common/languages.ts Adds internal API interfaces for provider options matching the proposed API
src/vs/monaco.d.ts Adds Monaco API type definitions for provider options
src/vs/workbench/api/common/extHost.protocol.ts Adds protocol DTOs and method signatures for provider options communication
src/vs/workbench/api/common/extHostLanguageFeatures.ts Implements extension host adapter logic for provider options, bridging extension API to internal protocol
src/vs/workbench/api/browser/mainThreadLanguageFeatures.ts Implements main thread provider wrapper with provider options support and change events
src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.ts Adds UI for displaying provider options and showing quick pick for option selection
src/vs/workbench/contrib/chat/browser/chatStatus/media/chatStatus.css Adds CSS styling for provider option UI elements matching model selection pattern

Comment thread src/vs/workbench/api/browser/mainThreadLanguageFeatures.ts
@benibenj benibenj merged commit e63e21f into main Feb 23, 2026
24 checks passed
@benibenj benibenj deleted the benibenj/tiny-kangaroo branch February 23, 2026 22:40
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Apr 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants