Add status bar options for inline completions#297120
Merged
Conversation
Contributor
There was a problem hiding this comment.
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
InlineCompletionProviderOptionandInlineCompletionProviderOptionValueto 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 |
TylerLeonhardt
approved these changes
Feb 23, 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 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.
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.