You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above script executes and tries to build the Hoogle database but at some point the build fails with the following message:
[70/155] hoogle...
hoogle: hseToItem failed, Add mode = embed support
Nevertheless, the plugin doesn't warn the user, that the build has failed (in fact, according to IntelliJ the plugin hasn't failed, you can only see the failed build status if you go to the Build tab). However, quick-documentation is unavailable as shown in the following screenshot:
Haskell Event Log shows that it can't access the Hoogle database since it's been trucated.
Haskell Event Log
Temporal fix
I tried to fix this problem and I found out that when the database is manually generated where the plugin expects it, it works fine. To achieve this, I removed both --local parameters from the hoogle command executed by the plugin:
I am citing this issue, since I keep having this problem with IntelliJ's Haskell plugin
Problem
Hoogle Documentation is not available for me out-of-the-box
Explanation of the problem
Activating the Haskell logs and having a look at them, shows that the plugin executes a command similar to the following
The above script executes and tries to build the Hoogle database but at some point the build fails with the following message:
Nevertheless, the plugin doesn't warn the user, that the build has failed (in fact, according to IntelliJ the plugin hasn't failed, you can only see the failed build status if you go to the Build tab). However, quick-documentation is unavailable as shown in the following screenshot:
Haskell Event Log shows that it can't access the Hoogle database since it's been trucated.
Haskell Event Log
Temporal fix
I tried to fix this problem and I found out that when the database is manually generated where the plugin expects it, it works fine. To achieve this, I removed both
--local
parameters from the hoogle command executed by the plugin:The "hoogle generate" command will pull the whole Hoogle database from the Internet and Quick-Documentation (Ctrl+Q) will work as expected:
Originally posted by @marcozucchi in #659 (comment)
The text was updated successfully, but these errors were encountered: