Open kerscher opened 8 years ago
I was planning on adding this, but since there is the additional dependency I might create a separate package just for this command and link to here for a proper IDE.
On a side-note, now that stack-ide
is being deprecated, what are the plans for the package?
@kerscher are you aware of https://github.com/haskell/haskell-ide-engine ? This is probably the "future main backend" of all ide integrations :)
Yep, I haven't kept up with how far along haskell-ide-engine is but I'm definitely planning to switch over to it as soon as it's ready to go!
Thanks for the link @rvion, and for the heads-up @lukexi. I'll check the discussion there :)
Whenever the user calls a
Prettify this file
command, it should be possible to run the file through stylish-haskell, updating the buffer immediately.Optionally, the user could leave an option set on preferences that whenever the file is saved it first passes through prettification.
Currently I leave a watch program doing this whenever the file changes.
The only downside is that
stylish-haskell
has to be installed, though it is on LTS.