rikvdkleij / intellij-haskell

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

IntelliJ keeps freezing with the intellij-haskell plugin #675

Open jaunruh opened 2 years ago

jaunruh commented 2 years ago

I am trying to use the intellij-haskell plugin with the jgm/pandoc repository and stack installed via brew install haskell-stack. So I have just cloned the repo and opened the folder.

The entire IDE keeps freezing on me for multiple minutes whenever I open a new file.

I get the following error messages in the event log:

17:02   [project-stack-repl-pandoc:lib] REPL couldn't be started within 30 seconds

17:02   [project-stack-repl-pandoc:lib] 

17:02   [project-stack-repl-pandoc:lib] /Users/johannes/Programming/neopolis/pandoc/src/Text/Pandoc/CSV.hs:57:3: warning: [-Wunused-do-bind]

17:02   [project-stack-repl-pandoc:lib]     A do-notation statement discarded a result of type ‘Char’

17:02   [project-stack-repl-pandoc:lib]     Suppress this warning by saying ‘_ <- char (csvQuote opts)’

17:02   [project-stack-repl-pandoc:lib]    |

17:02   [project-stack-repl-pandoc:lib] 57 |   char (csvQuote opts)

17:02   [project-stack-repl-pandoc:lib]    |   ^^^^^^^^^^^^^^^^^^^^

17:02   [project-stack-repl-pandoc:lib] 

[...]

Executing stack repl pandoc:lib and stack build --test --haddock --no-haddock-hyperlink-source in the terminal seems to work without problems. Building hoogle was also successful.

Am I doing something wrong? I have not changed any settings.