carymrobbins / intellij-haskforce

Haskell plugin for IntelliJ IDEA
http://carymrobbins.github.io/intellij-haskforce/
Apache License 2.0
486 stars 39 forks source link

ghc-ide instead of ghc-mod ? #404

Open ubourdon opened 4 years ago

ubourdon commented 4 years ago

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

carymrobbins commented 4 years ago

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

ubourdon commented 4 years ago

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.

carymrobbins commented 4 years ago

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.

nhenin commented 3 years ago

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 ?

carymrobbins commented 3 years ago

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

nhenin commented 3 years ago

@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 :-)

carymrobbins commented 3 years ago

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