Mainline pygls in vscode.dev! #510
alcarney
started this conversation in
Show and tell
Replies: 2 comments 4 replies
-
Wow, this is amazing. That link you have in the screenshot is this right? https://vscode.dev/github/openlawlibrary/pygls I assume it's expected that merely going to that URL isn't enough to set everything up? I get this error when visiting it: So are you planning to write up some steps at https://github.com/alcarney/vscode-wasi-pygls? |
Beta Was this translation helpful? Give feedback.
4 replies
-
Nice! I got it to work this time! Evaluated All in the browser, wow. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Screenshot shows running our example
semantic_tokens.py
server running in the browserWith the recent changes to the pygls
main
branch (i.e. the upcoming v2 release) I'm pleased to report that it is now possible to run your language server fully in the browser in https://vscode.dev! 😄Rather than using Pyodide as the WASM runtime, this is using VSCode's WASI host, as such your server will have to align with the current limitations of the WASI runtime
See this repository for details on how to make it work.
Beta Was this translation helpful? Give feedback.
All reactions