carymrobbins / intellij-haskforce

Haskell plugin for IntelliJ IDEA
http://carymrobbins.github.io/intellij-haskforce/
Apache License 2.0
485 stars 41 forks source link

Avoid forcing file saves for external tool calls by mapping file contents #415

Closed carymrobbins closed 4 years ago

carymrobbins commented 4 years ago

Related to #406

Having to save sources before invoking external tools is slow and causes problems (like the linked ticket above). It looks like for existing external tools this can be alleviated. For hlint, we can supply the source via stdin, and for ghc-modi we can use the map-file command.