Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Browser RefreshNew to Visual Studio Code? Get it now.
Browser Refresh

Browser Refresh

Fabio Spampinato

|
15,906 installs
| (3) | Free
Refresh the browser with a ⌘R, right from Code. No need to switch focus to it.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Browser Refresh

Logo

Refresh the browser with a ⌘R, right from Code. No need to switch focus to it.

It's currently implemented using an AppleScript, which makes this extension macOS only. If you know how to do the same on Windows or Linux please submit a PR.

Install

Follow the instructions in the Marketplace, or run the following in the command palette:

ext install fabiospampinato.vscode-browser-refresh

Usage

It adds 2 commands to the command palette:

'Browser: Refresh' // Refresh the browser
'Browser: Force Refresh' // Force refresh the browser

It adds 2 shortcuts:

'Cmd+R' // Refresh the browser
'Shift+Cmd+R' // Force refresh the browser

Settings

{
  "browserRefresh.browser": "Google Chrome", // The browser to refresh
  "browserRefresh.delay": 250, // Delay after which ⌘R will be sent to the browser, in milliseconds
  "browserRefresh.focus": false // Keep the focus on the browser
}

License

MIT © Fabio Spampinato

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft