Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ghc-ide instead of ghc-mod ? #404

Open
ubourdon opened this issue Sep 23, 2019 · 7 comments
Open

ghc-ide instead of ghc-mod ? #404

ubourdon opened this issue Sep 23, 2019 · 7 comments

Comments

@ubourdon
Copy link

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

@carymrobbins
Copy link
Owner

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

@ubourdon
Copy link
Author

ubourdon commented Nov 2, 2019

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
Copy link
Owner

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
Copy link

nhenin commented Aug 6, 2021

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
Copy link
Owner

@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
Copy link

nhenin commented Aug 6, 2021

@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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants