Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/antfu/vscode-server-controller
- Owner: antfu
- License: mit
- Created: 2023-04-30T01:17:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-18T09:13:00.000Z (over 1 year ago)
- Last Synced: 2024-10-04T22:17:00.824Z (30 days ago)
- Language: TypeScript
- Homepage:
- Size: 93.8 KB
- Stars: 47
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# vscode-server-controller
> 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)