Merged
Conversation
Contributor
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @jrualesMatched files:
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a dedicated “Browser Quick Open” experience to quickly switch between already-open Integrated Browser tabs and optionally open a new tab (with or without a typed URL), aligning with the Ctrl/Cmd+Shift+A shortcut familiar from Chromium-based browsers.
Changes:
- Introduces a new quick pick UI listing open browser tabs (grouped by editor group) with per-tab close buttons and a “Close All” action.
- Adds a command (
workbench.action.browser.quickOpen) and registers the feature via the browserView contribution. - Adjusts
BrowserEditorfocus behavior by moving initial-focus logic intofocus()instead ofsetInput().
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/vs/workbench/contrib/browserView/electron-browser/features/browserQuickOpenFeature.ts | New quick pick implementation + command/keybinding for quick-opening Integrated Browser tabs. |
| src/vs/workbench/contrib/browserView/electron-browser/browserView.contribution.ts | Wires the new quick open feature into the electron-browser contribution. |
| src/vs/workbench/contrib/browserView/electron-browser/browserEditor.ts | Refactors focus handling by overriding focus() and removing focus logic from setInput(). |
| src/vs/platform/browserView/common/browserViewTelemetry.ts | Extends telemetry enum to track quick-open initiated browser opens. |
You can also share your feedback on Copilot code review. Take the survey.
src/vs/workbench/contrib/browserView/electron-browser/features/browserTabManagementFeatures.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/browserView/electron-browser/features/browserTabManagementFeatures.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/browserView/electron-browser/features/browserQuickOpenFeature.ts
Outdated
Show resolved
Hide resolved
Yoyokrazy
approved these changes
Mar 19, 2026
This was referenced Mar 19, 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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Ctrl/Cmd + Shift + Awhen a browser is active (same shortcut as Chrome / Edge).Code_-_OSS_UPDgS2vzmv.-.Trim.mp4
Also updates the browser button in the title bar to default to show when a browser is already open. Clicking when there is an existing browser will trigger the quick open picker:

Also adds commands to close all browsers (in one group or everywhere):


Closes #302161
Closes #299861