-
-
Save simonmichael/7f7305b9351b2a2e450c39f7ad128f4c to your computer and use it in GitHub Desktop.
turned off power save mode for inspections, and for hlint installation to complete (?)
Installing hlint got stuck, showing “Busy with installing hlint” for hours; it completed after restarting the IDE
Could not reproduce issues with installing Hlint (and other Haskell tools)
I tried all of these, only the last works, shouldn’t it be just hover ? Or at least, don’t require moving off word
hover over word ?
click in word ?
select word ?
hover over word while holding CMD ?
move pointer over word from outside it while holding CMD ? (first move off word if already over it)
You can use the shortcuts in menu View / Haskell
(also for selection) or hover over identifier while holding the Ctrl/Cmd key down
saw a message advising using Tools menu to rebuilding hoogle db, menu option was disabled until hlint/hoogle etc. finished installing
That's right, plugin needs Hoogle to build Hoogle db.
do background tasks generate output separate from what appears in the event log ? how do you see it ?
Yes, in case there are warnings/errors (no need to enable the Event log)
a certain open file got reloaded in the repl every few minutes
Could be the action after library code is rebuild.
what to do about “ambiguous stack target” warning
That is because the Cabal file does not unambiguous defines to which Cabal component/stanza a file belongs.
So for example in hledger-lib.cabal
:
library
hs-source-dirs:
./.
test-suite doctests
hs-source-dirs:
./.
test
So all the files in hledger-lib
can be part of library or test component.
Btw, next beta will always prefer library component.
frequently gets horribly slow and choppy during editing
show usages does not show cross-package usages ?
Those should be improved in next beta
analyze dependencies (of a few open files) hung IDEA for a few minutes
Never tried that myself 😄 Will investigate that.
EDIT: can reproduce that issue.
oesn’t update right away, eg moving defs to another file in same directory, had to resave a file ?
didn’t show errors in another package (hledger-ui) for a minute or two
didn’t hide hledger-ui error when fixed in library package (hledger-lib)
restarting repl didn’t help, I think
invalidate caches and restart helped
would a running ghcid confuse it ?
Have to reproduce/investigate that.
rename (S-F6) is unreliable, often doesn’t find all matches even a few lines away
Should be fixed/improved in next beta. It's really a challenge to get that solid over multiple files/components.
optimize imports didn’t always work (didn’t remove Control.Arrow after dropping &&& usage)
Yes, the Hlint integration has to be improved to get feature more stable. Already know the issue, contacted Neil Mitchell so I know what to but need time (currently low prio for me).
why is it saving so often as I type, without switching frames ?
Yes agree, looked for a setting to save less frequently but could not find that. Maybe it helps to disable "safe writes" option.
can I make it ignore cabal sections I don’t care about for performance, like tests and benchmarks ?
I do not understand why you want that? Should not give issues.
Yes, I also noticed that sometimes. It seems that only one stack command can run at a time (the other gets blocked). Also made a delay between starting the REPLs otherwise same issue. Hopefully next beta will be more stable because REPLs will be started with
-fobject-code