Open ggreif opened 8 months ago
This is known behavior. Most language support extensions are entirely unusable in github.dev
(e.g. Rust, OCaml, Solidity), so we're significantly ahead of the curve in terms of browser support with syntax highlighting and formatting in the browser.
Adding type checking for web environments is a major undertaking, since we would need to create browser versions of Vessel and Mops (as well as parts of dfx) for the compiler to work as expected for any project with a dfx.json
file. However, it would be possible due to using moc.js
under the hood for the language server. If there's enough interest, we could certainly look into adding more features to the web version of the extension.
I see. Let's leave this open as a feature request. I was just naïvely expecting that it works out of the box if it installs. Ah, well.
src/Char.mo
The other features (like go to definition) also don't seem to work.