Closed slanterns closed 1 year ago
For 1, it is needed to set up ci in https://github.com/Enter-tainer/typst-ws . And download the latest(?) artifact in this extension.
For 2, currently typst-ws works by listening to fs events (which is the same as the official 'typst watch'). I'm not sure how to port the "preview on type" style to this for now.
Update: now prebuit binary for Window/Linux/macOS-x64 is added in the readme.
Seems that rust-analyzer ships binary within its vsix bundle. We may also follow the clangd approach, by downloading the latest artifact from github. I'm not sure how to distribute vsix bundle for different platforms. Maybe the clangd one is easier.
2 is done, by writing unsaved changes to a temp file.
typst-ws
binary like whatrust-analyzer
orCodeLLDB
does;