Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/antfu/vscode-server-controller

Start a local server to control the VS Code instance.
https://github.com/antfu/vscode-server-controller

Last synced: 19 days ago
JSON representation

Start a local server to control the VS Code instance.

Awesome Lists containing this project

README

        

# vscode-server-controller

Visual Studio Marketplace Version

> You may NOT need to install the extension directly. This is mainly for tooling integrations.

Start a local server to control the VS Code instance from external apps.

Port of the server will be stored under `.vscode/.server-controller-port.log` in the root of the current workspace.

## Endpoints

### `GET /open`

Open a file or folder in the current VS Code instance.

Required query parameters:

- `path`: the path to open

## Use Cases

- [Nuxt DevTools](https://github.com/nuxt/devtools/) uses this extension to do "Open in Editor" feature for embedded VS Code: https://github.com/nuxt/devtools/pull/207

## Sponsors





## License

[MIT](./LICENSE) License © 2022 [Anthony Fu](https://github.com/antfu)