Only the first line of HLint messages is show in the problems window and tooltip. Can I get the full text of suggestions (other than by running HLint in a console)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, will be part of 2.5.3. It will be driven by a preference, so the default behavior won't change, but on the Hlint preference page you'll be able to check the option. In your case after checking the option, when the file is changed and hence reanalysed by hlint I see:
Only the first line of HLint messages is show in the problems window and tooltip. Can I get the full text of suggestions (other than by running HLint in a console)?
Do you have a concrete example, because here it works fine: this is what I see in the problems window:
Reduce duplication
Found:
let pd = localPkgDescr lbi
let libs = maybe [] extractFromLib $ library pd
let exes = map extractFromExe $ executables pd
let tests = map extractFromTest $ testSuites pd
Why not:
Combine with /home/jpmoresmau/Documents/jp-github/eclipsefp/BuildWrapper/src/Language/Haskell/BuildWrapper/Cabal.hs:534:17
Last edit: gidyn 2013-04-24
Start a new project, and add
main = print "1" >> return ()
OK, will be part of 2.5.3. It will be driven by a preference, so the default behavior won't change, but on the Hlint preference page you'll be able to check the option. In your case after checking the option, when the file is changed and hence reanalysed by hlint I see:
Use void
Found:
print "1" >> return ()
Why not:
void (print "1")