Skip to content

undo finalization of terminal completion provider API#276174

Merged
meganrogge merged 1 commit intomainfrom
wise-marsupial
Nov 7, 2025
Merged

undo finalization of terminal completion provider API#276174
meganrogge merged 1 commit intomainfrom
wise-marsupial

Conversation

@meganrogge
Copy link
Collaborator

addresses #276142 in main

Copilot AI review requested due to automatic review settings November 7, 2025 19:30
@meganrogge meganrogge self-assigned this Nov 7, 2025
@meganrogge meganrogge added this to the November 2025 milestone Nov 7, 2025
@meganrogge meganrogge enabled auto-merge (squash) November 7, 2025 19:30
@meganrogge meganrogge requested a review from Tyriar November 7, 2025 19:35
Copy link
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 PR moves the Terminal Completion Provider API from the stable API surface (vscode.d.ts) to a proposed API (vscode.proposed.terminalCompletionProvider.d.ts), properly gating it behind the terminalCompletionProvider proposal flag. This change also includes a minor documentation update where "master" is changed to "main" in an example.

  • Moves terminal completion API definitions to a new proposed API file
  • Adds proper API gating checks in extension host and contribution service
  • Registers the new API proposal with correct URL
  • Updates the terminal-suggest extension to opt-in to the proposed API

Reviewed Changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts New proposed API file containing all terminal completion provider types and interfaces
src/vscode-dts/vscode.d.ts Removes terminal completion API definitions from stable API surface
src/vs/workbench/contrib/terminal/common/terminalExtensionPoints.ts Adds proposal check for terminal completion providers in contributions
src/vs/workbench/api/common/extHost.api.impl.ts Adds proposal check when registering terminal completion providers
src/vs/platform/extensions/common/extensionsApiProposals.ts Registers the new terminalCompletionProvider proposal
extensions/terminal-suggest/package.json Adds terminalCompletionProvider to enabled API proposals

@meganrogge meganrogge merged commit 6293b54 into main Nov 7, 2025
33 of 34 checks passed
@meganrogge meganrogge deleted the wise-marsupial branch November 7, 2025 21:05
meganrogge added a commit that referenced this pull request Nov 7, 2025
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Dec 22, 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