Skip to content

Browser Quick Open / Tab Management#303058

Merged
kycutler merged 3 commits intomainfrom
kycutler/browserquickopen
Mar 19, 2026
Merged

Browser Quick Open / Tab Management#303058
kycutler merged 3 commits intomainfrom
kycutler/browserquickopen

Conversation

@kycutler
Copy link
Contributor

@kycutler kycutler commented Mar 19, 2026

Ctrl/Cmd + Shift + A when 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:
image

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

Closes #302161
Closes #299861

Copilot AI review requested due to automatic review settings March 19, 2026 04:15
@vs-code-engineering
Copy link
Contributor

vs-code-engineering bot commented Mar 19, 2026

📬 CODENOTIFY

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

@jruales

Matched files:

  • src/vs/platform/browserView/common/browserView.ts
  • src/vs/platform/browserView/common/browserViewTelemetry.ts
  • src/vs/workbench/contrib/browserView/electron-browser/browserEditor.ts
  • src/vs/workbench/contrib/browserView/electron-browser/browserView.contribution.ts
  • src/vs/workbench/contrib/browserView/electron-browser/browserViewActions.ts
  • src/vs/workbench/contrib/browserView/electron-browser/features/browserTabManagementFeatures.ts

@vs-code-engineering vs-code-engineering bot added this to the 1.113.0 milestone Mar 19, 2026
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

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 BrowserEditor focus behavior by moving initial-focus logic into focus() instead of setInput().

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.

@kycutler kycutler marked this pull request as draft March 19, 2026 04:26
@kycutler kycutler changed the title Browser Quick Open Browser Quick Open / Tab Management Mar 19, 2026
@kycutler kycutler marked this pull request as ready for review March 19, 2026 19:08
@kycutler kycutler merged commit 38742b5 into main Mar 19, 2026
19 checks passed
@kycutler kycutler deleted the kycutler/browserquickopen branch March 19, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to quickly focus/navigate to opened integrated browser shortcut: close all integrated browsers

3 participants