-
Notifications
You must be signed in to change notification settings - Fork 37.1k
Finalize quickPickButtonLocation API proposal #284360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @lszomoruMatched files:
|
There was a problem hiding this 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 |
|
@dmitrivMS PR is red |
Yeah, sorry - bad merge, will fix. |
Fixed |
Fixes #144956