intellij-haskforce icon indicating copy to clipboard operation
intellij-haskforce copied to clipboard

ghc-ide instead of ghc-mod ?

Open ubourdon opened this issue 6 years ago • 7 comments

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

ubourdon avatar Sep 23 '19 15:09 ubourdon

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

carymrobbins avatar Sep 23 '19 15:09 carymrobbins

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.

ubourdon avatar Nov 02 '19 19:11 ubourdon

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.

carymrobbins avatar May 29 '20 15:05 carymrobbins

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 avatar Aug 06 '21 11:08 nhenin

@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 avatar Aug 06 '21 13:08 carymrobbins

@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 avatar Aug 06 '21 14:08 nhenin

@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.

carymrobbins avatar Aug 06 '21 14:08 carymrobbins