enso/app/gui2/ydoc-server
Dmitry Bushev 858e646328
Start Ydoc with the language server (#9862)
- related #7954

Changelog:
- update: Ydoc starts with the language server on the `localhost:1234` by default. The hostname and ports can be configured by setting environment variables `LANGUAGE_SERVER_YDOC_HOSTNAME` and `LANGUAGE_SERVER_YDOC_PORT`
- update: by default `npm dev run` uses the node Ydoc server. You can control it with `POLYGLOT_YDOC_SERVER` env variable. For example,
```
env POLYGLOT_YDOC_SERVER='true' npm --workspace=enso-gui2 run dev
```
To connect to the Ydoc server running on the 1234 port (the one started with the language server)
⠀
```
env POLYGLOT_YDOC_SERVER='ws://127.0.0.1:1235' npm --workspace=enso-gui2 run dev
```
To connect to the provided URL. Can be useful for debugging when you start a separate Ydoc process.
- update: run `npm install` before the engine build. It is required to create the Ydoc JS bundle.
2024-05-28 13:51:42 +00:00
..
__tests__ Extract tests to their own files (#9229) 2024-03-06 09:53:12 +00:00
auth.ts Run ydoc-server with GraalVM (#9528) 2024-05-02 06:28:57 +00:00
edits.ts Rename function widget (#9959) 2024-05-22 15:07:39 +00:00
fileFormat.ts Fix visualization resizing (#9946) 2024-05-14 11:49:37 +00:00
index.ts Run ydoc-server with GraalVM (#9528) 2024-05-02 06:28:57 +00:00
indexPolyglot.ts Start Ydoc with the language server (#9862) 2024-05-28 13:51:42 +00:00
languageServerSession.ts Rename function widget (#9959) 2024-05-22 15:07:39 +00:00
serialization.ts Refactor for YJs AST (#8840) 2024-01-24 19:22:05 +00:00
ydoc.ts Run ydoc-server with GraalVM (#9528) 2024-05-02 06:28:57 +00:00