haskell / haskell/haskell-language-server

GHCJS Compatibility?

Đang mở
#349 10 bình luận 1 reaction 0 người được giao Xem trên GitHub
type: enhancement
Ngôn ngữ chính
Haskell
Star
3k
Fork
455
Merge trung bình
2 ngày 19 giờ
Pull request đã merge (30 ngày)
11

Mô tả

## 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.