Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the integrated browser to support more standard browser-style keyboard shortcuts for navigation, reloading, opening tabs, and focusing the URL bar.
Changes:
- Binds
Ctrl/Cmd+T(when a browser editor is active) to open a new integrated browser tab via the existingworkbench.action.browser.opencommand. - Adds
Cmd+[/Cmd+](viaCtrlCmd+BracketLeft/Right) as secondary keybindings for Back/Forward, and switches Reload to useCmd/Ctrl+Ras primary (withF5secondary) with higher precedence over window reload and debug. - Introduces
FocusUrlInputActionwithCtrl/Cmd+Lin the browser editor and exposesBrowserEditor.focusUrlInput()so both new tabs and the keybinding can focus the URL input consistently.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/vs/workbench/contrib/browserView/electron-browser/browserViewActions.ts |
Adds new keybindings for open-new-tab, back/forward, reload, and a new FocusUrlInputAction wired to Ctrl/Cmd+L and registered with the browser actions. |
src/vs/workbench/contrib/browserView/electron-browser/browserEditor.ts |
Routes initial focus for new-in-group editors through a new focusUrlInput() method on BrowserEditor, which delegates to the navigation bar’s URL-input focusing logic. |
src/vs/workbench/contrib/browserView/electron-browser/browserViewActions.ts
Show resolved
Hide resolved
jruales
reviewed
Jan 27, 2026
src/vs/workbench/contrib/browserView/electron-browser/browserViewActions.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/browserView/electron-browser/browserViewActions.ts
Show resolved
Hide resolved
src/vs/workbench/contrib/browserView/electron-browser/browserViewActions.ts
Outdated
Show resolved
Hide resolved
jruales
previously approved these changes
Jan 27, 2026
jruales
approved these changes
Jan 27, 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.
Closes #290771
Closes #290759
Closes #290645
Closes #290644