typst-lsp
typst-lsp copied to clipboard
VSCode Web Extension
I think it would be very cool if the typst-lsp
extension also worked inside the browser. How difficult would it be to add web support?
More information here:
- https://code.visualstudio.com/docs/editor/vscode-web
- https://code.visualstudio.com/api/extension-guides/web-extensions
How difficult would it be to add web support?
It seems to be a bit involved: https://code.visualstudio.com/api/extension-guides/web-extensions#update-existing-extensions-to-web-extensions
Some contribution work will likely be needed to make this happen, but I'd recommend talking with @nvarner first.
It would take some substantial work, but I think it's possible to do without losing too much (if any) functionality.
However, my main concern is competing with typst.app. I don't know their business model, so I can't say for sure, but I think a web version of this extension would be a direct competitor to the official online Typst editor. Though technically achievable and legal, I don't want to create something like that right now; Typst having paying customers is better for the development of the language, and I don't want the creators to regret open sourcing the project.
If they are actually okay with a web extension, then I'd also be okay with the functionality (though I may not be able to immediately work on it; Lapce support is already eating up my time). I'll leave the issue open for now just in case, but I don't expect this to move forward in the near future.