-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support installation as a Web Extension #515
Comments
I think it would be not trivial and complicated. It is worth investigating, but I wouldn't hold your breadth. Also, it likely would need to be a seperate extension. Targetting the whole of Deno CLI for wasm is not practical, but taking things like the module graph already target wasm. It would mean it would be seperate from But Deno and the vscode_deno extension are well supported on codespaces, but where you have a dev container to back it up. |
@kitsonk Has this been previously discussed in the CLI repo or elsewhere? If so, can you link me so that I can read what's already been covered? |
It is self evident, so it hasn't been discussed. Deno CLI is intrinsically tied to Deno core and v8 isolates. Deno core is intrinsically tied to v8. You cannot practically target v8 to WASM to run on v8. |
@kitsonk if Accounting for VS Code settings sync, it should definitely be shipping in the same extension package. If
As far as I know, the code lens feature for running tests is unlikely to work with the web extension version. Would be amazing if that could work though. That's been such a wonderful productivity boost for me. |
@ry @justjavac @kitsonk @lucacasonato Just imagine guys no need of docker and local installed CLI of deno for development. Whole new era of development will be started. Please discover things in depth if whole things cannot be achieved soon then can we have any solutions from following. And please check this repo in which they are compiling ts from service worker only. Hey everyone please support to achieve this for better DX. |
@kitsonk please let me know how can i be helpful to achieve this? |
I think small steps would be nice. Editing deno code on something like vscode.dev is a bit of a hassle as the Deno typings aren't available. Maybe small things like that would be a good start before we get to compiling |
A lot has changed since 2022. Is there any reason to hope the Deno LSP could run as a Web Extension now? |
It would be very helpful to be able to install and use this extension in browser instances of VS Code (e.g. the Web-based editor on github.dev) as a web extension.
I'm not exactly sure which changes will need to be made to enable this. Initially, I think of the need to support a virtual filesystem, and for Deno's LSP to be available in a worker.
Would Deno need to support wasm as a compilation target? What architectural decisions might make this a challenge? Is it possible for this feature request to align with the project's goals?
The text was updated successfully, but these errors were encountered: