Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dmitrivMS
Copy link
Contributor

Fixes #144956

Copilot AI review requested due to automatic review settings December 19, 2025 04:39
@dmitrivMS dmitrivMS requested a review from alexr00 as a code owner December 19, 2025 04:39
@dmitrivMS dmitrivMS added the quick-pick Quick-pick widget issues label Dec 19, 2025
@dmitrivMS dmitrivMS self-assigned this Dec 19, 2025
@dmitrivMS dmitrivMS enabled auto-merge December 19, 2025 04:39
@vs-code-engineering
Copy link

vs-code-engineering bot commented Dec 19, 2025

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@lszomoru

Matched files:

  • extensions/git/package.json
  • extensions/git/tsconfig.json

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 finalizes the quickInputButtonLocation API proposal by moving it from a proposed API to a stable API in the VS Code extension API surface.

Key Changes

  • Removed the proposal file and added the API definitions to the main vscode.d.ts
  • Removed the proposal check requirement, allowing all extensions to use the API
  • Simplified toggle button implementation by removing the separate Toggle widget management layer

Reviewed changes

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

Show a summary per file
File Description
src/vscode-dts/vscode.proposed.quickInputButtonLocation.d.ts Removed the proposal file as the API is now finalized
src/vscode-dts/vscode.d.ts Added QuickInputButtonLocation enum and button properties (location and toggle) to the stable API
src/vs/workbench/api/common/extHostQuickOpen.ts Removed proposal API checks and updated toggle property structure in transfer objects
src/vs/workbench/api/common/extHost.protocol.ts Changed TransferQuickInputButton to use toggle object instead of checked boolean
src/vs/workbench/api/browser/mainThreadQuickOpen.ts Removed separate Toggle widget management and simplified button handling to pass toggle state through button events
src/vs/platform/quickinput/browser/quickInputUtils.ts Updated quickInputButtonToAction to swap label and tooltip parameters
src/vs/platform/extensions/common/extensionsApiProposals.ts Removed quickInputButtonLocation from the list of API proposals
extensions/vscode-api-tests/package.json Removed quickInputButtonLocation from enabled proposals
extensions/git/tsconfig.json Removed reference to the proposal file
extensions/git/package.json Removed quickInputButtonLocation from enabled proposals

@TylerLeonhardt
Copy link
Member

@dmitrivMS PR is red

@dmitrivMS
Copy link
Contributor Author

@dmitrivMS PR is red

Yeah, sorry - bad merge, will fix.

@dmitrivMS
Copy link
Contributor Author

@dmitrivMS PR is red

Yeah, sorry - bad merge, will fix.

Fixed

@TylerLeonhardt
Copy link
Member

TylerLeonhardt commented Dec 26, 2025

One thing worth discussing in API Sync... where should we put a secondary property? I'm trying to light something like this up using Toolbar:
image

It could change the shape of this location property actually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

quick-pick Quick-pick widget issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Toggle support for QuickInput in API

3 participants