Skip to content(if available)orjump to list(if available)

Building a better online editor for TypeScript

rafram

Why not Monaco? It works great.

https://github.com/microsoft/monaco-editor

jsejcksn

The title doesn't make it clear that it's actually about TypeScript plus Deno-specific syntax — and Deno's LSP doesn't run in a worker [1].

[1]: https://github.com/denoland/vscode_deno/issues/515

gdotdesign

I've done something similar for the Mint, and it's try page: https://mint-lang.com/sandbox/try (and all interactive snippets).

The client (CodeMirror) connects to the language server though WebSocket to offer semantic highlighting and some custom LSP actions related to compiling and serving the project.