carymrobbins/intellij-haskforce

ghc-ide instead of ghc-mod ?

Opened this issue · 7 comments

Hi,
Is it feasible ?
Seems ghc-mod is deprecated no ?

I am quite interested in this as well. As with all of these things, they are a lot of work, so PRs welcome.

Can you help me to find where i can start to try this in the project ?
Because i fail to install ghc-mod so it impossible to use haskforce in this state for me.

I have an extremely primitive WIP branch lsp that has started trying to integrate the haskell-language-server into HaskForce. There are many problems, but that might be a good starting place. If you are interested in helping with this, @ me on Gitter so we can discuss there.

Hi, I have the following issue :

1:46 p.m.	ghc-mod
				Attempting to use a ghc-mod compiled with a different version of ghc:
				GHC version: '8.10.4.20210212'
				ghc-mod compiled with ghc version: '8.0.2'
				Please reconfigure ghc-mod to use a version compiled with GHC 8.10.4.20210212

What can I do ?

@nhenin There's not really much that can be done. The ghc-mod project is pretty much dead at this point, so you're not going to see it support newer GHC versions.

@carymrobbins are you going to move on HLS ? The problem I have is to work on cabal projects + IntelliJ, I was using the other plugin (https://github.com/rikvdkleij/intellij-haskell) but this is only for Stack based project...
Then I have tried VSCode but the "Jump to Definition" is working only within the module ...
If you have a a recommendation, it would be appreciated :-)

@nhenin I would like to start using HLS, but it doesn't appear all that stable yet. Also, it's w lot of work to integrate it as it uses LSP and hooking that into IntelliJ is nontrivial (even with the LSP IntelliJ libraries out there).

If you or anyone wants to help with the effort I'm happy to provide guidance.