https://github.com/rafaelmaiolla/remote-vscode
A package that implements the Textmate's 'rmate' feature for Visual Studio Code.
https://github.com/rafaelmaiolla/remote-vscode
rmate textmate vscode
Last synced: 8 months ago
JSON representation
A package that implements the Textmate's 'rmate' feature for Visual Studio Code.
- Host: GitHub
- URL: https://github.com/rafaelmaiolla/remote-vscode
- Owner: rafaelmaiolla
- License: mit
- Created: 2016-03-05T00:27:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T17:47:52.000Z (over 3 years ago)
- Last Synced: 2024-11-06T08:43:17.032Z (over 1 year ago)
- Topics: rmate, textmate, vscode
- Language: TypeScript
- Homepage:
- Size: 242 KB
- Stars: 260
- Watchers: 4
- Forks: 33
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Remote VSCode
[](https://travis-ci.org/rafaelmaiolla/remote-vscode)
[](https://snyk.io/test/github/rafaelmaiolla/remote-vscode)
[](https://david-dm.org/rafaelmaiolla/remote-vscode)
[](https://david-dm.org/rafaelmaiolla/remote-vscode#info=devDependencies)
A package that implements the Textmate's 'rmate' feature for VSCode.
## Installation
* Install the package from the editor's extension manager.
* Install a rmate version
- Ruby version: https://github.com/textmate/rmate
- Bash version: https://github.com/aurora/rmate
- Perl version: https://github.com/davidolrik/rmate-perl
- Python version: https://github.com/sclukey/rmate-python
- Nim version: https://github.com/aurora/rmate-nim
- C version: https://github.com/hanklords/rmate.c
- Node.js version: https://github.com/jrnewell/jmate
- Golang version: https://github.com/mattn/gomate
## Usage
* Configure the following in VS Code User Settings:
```javascript
//-------- Remote VSCode configuration --------
// Port number to use for connection.
"remote.port": 52698,
// Launch the server on start up.
"remote.onstartup": true,
// Address to listen on.
"remote.host": "127.0.0.1",
// If set to true, error for remote.port already in use won't be shown anymore.
"remote.dontShowPortAlreadyInUseError": false,
```
* Start the server in the command palette - Press F1 and type `Remote: Start server`, and press `ENTER` to start the server.
You may see a `Starting server` at the status bar in the bottom.
* Create an ssh tunnel
```bash
ssh -R 52698:127.0.0.1:52698 user@example.org
```
* Go to the remote system and run
```bash
rmate -p 52698 file
```
## License
[MIT](LICENSE.txt)