Haskell plugin for IntelliJ IDEA Community Edition
@reggieperry haskforce currently has ghc-mod integration, and i believe ghc-mod provides something like this (the refine command)
i'm not sure if this completely handles your use case, feel free to open a feature request on the haskforce issue tracker. i'll be able to add details there about what may be needed for implementing this
oh and -frefinement-level-hole-fits looks interesting as well
@carymrobbins You said "the Haskell Stack Run is for running your compiled binary, not for running ghc" so I get "Executable named ... not found on path". I don't see any executable that's been created in any of the project directories.
@allmycode_twitter Right, so first your build must succeed. Your binary name is defined in your cabal file (or package.yaml). The analogous workflow on the command line would be -
OK. Got to go now but I'll try it (and I'll use backticks in the future where necessary). Thanks.
sounds good. last thing - in haskforce the executable name is HaskForceCreatedWithStackCommand-exe
the name is defined in your cabal file
@carymrobbins Will do. Thanks.
hey @carymrobbins, are there any plans on adopting Eta for plugin development?
@develop7@carymrobbins was working on the Eta Intellij plugin which is written (in as much as Eta’s interop features allow) in Eta itself. A lot of it took inspiration from haskforce code, so when Eta can compile GHC & support more interop features, haskforce should be able to use Eta completely w/o depending on other languages.
@rahulmutt@develop7 The most recent stuff i think is in the eta-ide branch. There's also some Psi parser combinators for building intellij parsers which is pretty nice.
@carymrobbins@rahulmutt I've skimmed through source and there are a lot of reimports of IDEA SDK.
@develop7 Yes, that’s the FFI boilerplate for binding against the required SDK APIs - we’re currently working on removing the boilerplate with some new features in Eta itself. There should be some modules that actually do something.