Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lionello/terminal-open-with
VSCode extension to customize how to open URLs in the terminal window.
https://github.com/lionello/terminal-open-with
terminal utility vscode vscode-extension vscode-plugin
Last synced: about 2 months ago
JSON representation
VSCode extension to customize how to open URLs in the terminal window.
- Host: GitHub
- URL: https://github.com/lionello/terminal-open-with
- Owner: lionello
- License: mit
- Created: 2023-01-02T19:11:38.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-22T22:28:39.000Z (over 1 year ago)
- Last Synced: 2024-10-25T04:06:39.755Z (3 months ago)
- Topics: terminal, utility, vscode, vscode-extension, vscode-plugin
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=lionello.terminal-open-with
- Size: 610 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# terminal-open-with
![Visual Studio Marketplace Version (including pre-releases)](https://img.shields.io/visual-studio-marketplace/v/lionello.terminal-open-with?include_prereleases)
This extension allows you to open links in the terminal with a specific app or browser, depending on the URL. For example, I use it to always open Google's auth site with Chrome:
![Open in chrome demo](images/demo.gif)
## Install
Install from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=lionello.terminal-open-with).
## Extension Settings
This extension contributes the following settings:
* `terminalOpenWith.mappings`: An array of mappings:
* Simple url-app mapping: `{ "glob": "https://g.co/sc", "app": "chrome" }`
* Or with wildcards and arguments: `{ "glob": "http://localhost**", "app": "firefox", "args": ["-private"] }`A glob can use any of the following wildcards:
* `?`: any filename character (excludes directory separators `/` and `\`)
* `*`: zero or more filename characters (excludes directory separators `/` and `\`)
* `**` "globstar": zero or more path characters (*includes* directory separators)## Known Issues
* Currently only supports `chrome`, `edge`, `firefox`, `code`, or `default`.
## Publishing
* Create a Personal Access Token with Marketplace:Manage scope on dev.azure.com
* Run `vsce login lionello` followed by `vsce publish minor`## Release Notes
### 0.1.2
Updated NPM dependencies.
### 0.1.1
First release (no changes.)
### 0.0.2
Added extension icon: External Link by Colourcreatype from Noun Project
### 0.0.1
Initial pre-release of `terminal-open-with`.