Skip to content

Conversation

@benibenj
Copy link
Contributor

Copilot Generated Description: Introduce a new experimental option to suppress inline suggestions for specified extension IDs. This change includes updates to the editor options and the inline completions model to accommodate the new functionality.

related https://github.com/microsoft/vscode-copilot/issues/14337

@benibenj benibenj self-assigned this May 28, 2025
@benibenj benibenj enabled auto-merge (squash) May 28, 2025 09:30
@vs-code-engineering vs-code-engineering bot added this to the May 2025 milestone May 28, 2025

const providers = changeSummary.provider ? [changeSummary.provider] : this._languageFeaturesService.inlineCompletionsProvider.all(this.textModel);
const suppressedProviderGroupIds = this._suppressedInlineCompletionGroupIds.get();
const availableProviders = providers.filter(provider => !(provider.groupId && suppressedProviderGroupIds.has(provider.groupId)));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To clarify, groupId is the extension ID. In the extension host groupId: extensionId, is set

@benibenj benibenj merged commit 0c6b128 into main May 28, 2025
8 checks passed
@benibenj benibenj deleted the benibenj/quintessential-clam branch May 28, 2025 10:13
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jul 12, 2025
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