haskell / vscode-haskell

VS Code extension for Haskell, powered by haskell-language-server
https://marketplace.visualstudio.com/items?itemName=haskell.haskell
Other
561 stars 90 forks source link

Basic support for vscode for web or github.dev #1063

Open clouds56 opened 7 months ago

clouds56 commented 7 months ago

Is your feature request related to a problem? Please describe.

I open a project using github.dev (without codespaces[1]), and expect haskell syntax highlight for ".hs" file.

[1] by without codespaces means I could not run a terminal, only typescript could be run in extension.

The 'Haskell' extension is not available in Visual Studio Code for the Web.

Describe the solution you'd like

Install this extension in vscode for web, even there's only partial support (e.g. without lsp, only syntax highlight available) I'v tried some project of rust/c++, the language server is disabled, while syntax highlight and symbol jump is enabled.

Additional context

Press "." on a github project would open it with vscode for web.

fendor commented 7 months ago

Hi, thank you for the bug report!

Syntax Highlighting is not provided by this extension but https://marketplace.visualstudio.com/items?itemName=justusadam.language-haskell. I think that extension consists solely of javascript, so might be easy to integrate already?