https://github.com/4euep/language-server-network
A simple LSP wrapper that help you run server remotely.
https://github.com/4euep/language-server-network
language-server-protocol tcp
Last synced: about 1 month ago
JSON representation
A simple LSP wrapper that help you run server remotely.
- Host: GitHub
- URL: https://github.com/4euep/language-server-network
- Owner: 4eUeP
- License: bsd-3-clause
- Created: 2020-09-10T02:03:54.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-10-13T09:39:45.000Z (over 2 years ago)
- Last Synced: 2025-12-31T21:15:37.643Z (5 months ago)
- Topics: language-server-protocol, tcp
- Language: Haskell
- Homepage:
- Size: 40 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# Language-Server-Network
A small tool that help you communicate with [language server][lsp] through
network(tcp) instead of stdio.
## Motivation
Do development on remote machines, but use local file editors.
## Quickstart
**TODO**
**N.B. You must keep your server projects synchronously with your local
projects, including directory structure.**
> :star: You can use [docker volumes][docker-volumes] on server to keep the same
> project structure as your locals. And a SimpleFileSync to sync your projects.
Setup file-sync:
```
simple-file-sync /path/to/your/config.yaml
```
An example config file:
[simple-file-sync.yaml](./FileSystem/config/simple_file_sync.yaml)
On server:
```sh
lsp-network-server --host 0.0.0.0 --port 3001
```
On client, set your lsp-client plugin:
```sh
lsp-network-client --host --port 3001 --projects lsp-network-client.yaml
```
## TODO
- Enable TLS.
- Enable password proteced connection.
- [?] A builtin sync feature.
[lsp]: https://microsoft.github.io/language-server-protocol/
[docker-volumes]: https://docs.docker.com/storage/volumes/