Closed sir4ur0n closed 4 years ago
Thanks for reporting!
I will let you know but will be next week.
The issues, except for refreshing the Haddock display, are fixable but not easy because it expects knowledge of the parser.
The Haddock display issue can only be fixed by parsing the Haddock comments by the plugin itself...
@Sir4ur0n Took some time but is fixed in next release except for refreshing Haddock display in project code.
Did you mean release 63 (already released) or release 64 (not yet released)? I just tried with 63 and it behaves the same
I mean release 64.
@Sir4ur0n Beta64 is released.
I confirm this works, this is an excellent improvement :heart:
Thank you again :pray:
In my current application we are starting to use real Haddock documentation, and I noticed the plugin behaves weirdly sometimes.
Start by copy/pasting it:
-- |foo
should be correctly displayed in green.Now put your cursor at the end of this doc line and type enter. I think it would be a great improvement that it automatically adds
--
to the beginning of the line because we are continuing the documentation.Nevertheless, type
-- bar
. This is displayed in grey (regular comment) instead of green (Haddock) 😢Now remove the last character. The grey block of documentation turns green! It also becomes green if you go to a green line and modify it (e.g. press
space
).I don't know what this is about, but it would be great if at least the 2 display bugs could be fixed. It would be even better if hitting
enter
at the end of a Haddock line automatically added--
to the next line.And it would be 100% perfect if refreshing the Haddock display in Intellij (at least for our own code) didn't require to use
(Re)Build Hoogle database
, but I guess this is too much asking ^^By any chance, is this something easily fixable? If yes, I may try to take a look :x
Cheers!