haskell / haskell/haskell-language-server

GHCJS Compatibility?

未關閉
#349 10 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
type: enhancement
主要語言
Haskell
星號
3k
分支
455
平均合併
2 天 19 小時
30 天內合併 PR
11

描述

## Summary
Is Haskell Language Server compatible with GHCJS?

## Details
I am currently working on a GHCJS project with miso (https://github.com/dmjio/miso), which exposes a subset of its modules to GHCJS projects, and a different subset to GHC projects. When using HLS, I find that it only uses GHC to resolve dependencies, so the miso modules exposed to GHCJS projects are not discoverable by HLS. This results HLS incorrectly reporting invalid import errors.

I'm not sure if GHCJS is already supported, or if it's feasible to implement support. My initial question is to ask whether it's possible to use GHCJS instead of GHC with HLS? I noticed that `hie-bios` recently added support for a `with-ghc` option -- would that help in any way?

## My Development Environment
I am currently using HLS with GHC 8.10.1 via Nix (`NixOS/nixpkgs#master`): `haskell.packages.ghc8101.ghcWithHoogle (p: [p.haskell-language-server])`.

Thank you,
Dhruv Dang

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。