rikvdkleij / intellij-haskell

IntelliJ plugin for Haskell
https://rikvdkleij.github.io/intellij-haskell/
Apache License 2.0
1.31k stars 94 forks source link

Plugin doesn't work #618

Open sashasashasasha151 opened 3 years ago

sashasashasasha151 commented 3 years ago

I successfully builded project with stack build --fast, run Update Settings and restart REPLs and in messages it show indigo-0.2.1: unregistering (missing dependencies: cleveland) and plugin features don't work (beta83)

sashasashasasha151 commented 3 years ago

Maybe you can help us more widely. We develop https://gitlab.com/morley-framework/morley/-/tree/master but looks like there are a lot of issues with this repo and haskell plugin and we can't fix them all. It a bit works with beta72 but not also too bad(

rikvdkleij commented 3 years ago

I have imported the project.

Main issue is that your project has two stack.yamls. That's not supported by plugin. Btw, you can enable the Haskell Event log to see more info about what is going on.

sashasashasasha151 commented 3 years ago

Okay, sorry, it was my bad, because I didn't update IDEA Now I did it, build project, run Update Settings and restart REPLs and this is logs after my click on the simplelet` element https://gist.github.com/sashasashasasha151/bd92a91ce863bb3277d5031609418de8

Also about two stack.yamls. I think you misunderstood smth because we have only one stack.yaml file

rikvdkleij commented 3 years ago

Yes, I saw the same errors. Looks like there is some conflict between the library packages. And then I saw the second stack.yaml...

For performance reason all library packages are loaded in one GHCi instance.

But yeah, it’s some guessing

sashasashasasha151 commented 3 years ago

We also have mixins and custom prelude there, maybe it is also the problem

rikvdkleij commented 3 years ago

Mixins are not supported by Stack repl , see https://github.com/commercialhaskell/stack/issues/5077