How to get Haskell Documentation to appear in IntelliJ? -
haskell has documentation "putstrln" here...
https://www.haskell.org/hoogle/?q=putstrln
but when use intellij ide (default haskell plugin), don't documentation. auto-complete works "putstrln", , says "string -> io()" in auto-complete menu, when press ctr-q or ctr-space, says "no documentation found."
how pop-up documentation haskell in intellij?
trying alternative "haskforce" plugin. cannot figure out how basic "hello world".
* update on haskforce *
-- start getting basic haskell stuff:
https://eschulte.github.io/emacs24-starter-kit/starter-kit-haskell.html
-- haskforce (and uninstall haskell plugin intellij)
-- set tools in "settings"
-- set compiler settings
^ turned on "install cabal dependencies" because when off got nasty message on run:
information:cabal: install dependencies information:cabal: cabal: not resolve dependencies: information:cabal: next goal: base (dependency of haskforceproject-0.1.0.0) information:cabal: base>=4.7 && <5) information:cabal: 4.6.0.0, 4.5.1.0, 4.5.0.0, 4.4.1.0, 4.4.0.0, 4.3.1.0, 4.3.0.0, 4.2.0.2, information:cabal: requires installed instance) information:cabal: null information:2/8/16 1:23 pm - compilation completed 1 error , 0 warnings in 1s 650ms error:cabal: install dependencies failed.
set run configuration ("run > edit configuration" must done before clicking run arrow):
when click arrow run, message:
ghc-modi error unable parse problems ghc-modi: cabal: @ least following dependencies missing: base >=4.7 && 5 ghc-mod: readprocess: cabal "configure" "--with-ghc=ghc" "--flags" "" (exit 1): failed
note these screenshots fresh install of ubuntu 14.04 install of haskell essentials , leskah ubuntu apt-get package manager.
got haskforce working changing "base >=4.7 && 5" "base >=4.6 && 5" in .cabal file, still no pop-up documentation.
* update *
still no pop documentation, got hoogleit plugin intellij , hoogle plugin atom searches functions in hoogle (haskell google).
the solution use hoogle plugin. intellij has hoogleit plugin (ctr-shift-h) searches haskell functions in hoogle. atom text editor has similar plugin.
javadoc style documentation not available haskell in ide.
Comments
Post a Comment