Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabiospampinato/vscode-browser-refresh
Refresh the browser with a ⌘R, right from Code. No need to switch focus to it.
https://github.com/fabiospampinato/vscode-browser-refresh
browser extension refresh vsc vscode
Last synced: 2 months ago
JSON representation
Refresh the browser with a ⌘R, right from Code. No need to switch focus to it.
- Host: GitHub
- URL: https://github.com/fabiospampinato/vscode-browser-refresh
- Owner: fabiospampinato
- License: mit
- Created: 2017-11-05T16:28:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-12T19:25:43.000Z (11 months ago)
- Last Synced: 2024-05-01T12:39:25.103Z (9 months ago)
- Topics: browser, extension, refresh, vsc, vscode
- Language: TypeScript
- Size: 1.34 MB
- Stars: 11
- Watchers: 4
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: license
Awesome Lists containing this project
README
# Browser Refresh
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](https://marketplace.visualstudio.com/items?itemName=fabiospampinato.vscode-browser-refresh), or run the following in the command palette:
```shell
ext install fabiospampinato.vscode-browser-refresh
```## Usage
It adds 2 commands to the command palette:
```js
'Browser: Refresh' // Refresh the browser
'Browser: Force Refresh' // Force refresh the browser
```It adds 2 shortcuts:
```js
'Cmd+R' // Refresh the browser
'Shift+Cmd+R' // Force refresh the browser
```## Settings
```js
{
"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