"Reformat code" action doesn't work
See original GitHub issueHotkey nor dialog isn’t doing anything, not even showing “no lines changed” popup like for example in TypeScript. In Code
-> Haskell
both items are grayed out. I saw in a status bar the plugin was installing ormolu. I don’t see any errors in Messages tab nor anything at bottom right (siren icon with crashes).
Test code:
data A = A Int
test [] = []
test x = [head x]
Tried reformat action, same action with selection, and reformat file dialog. All of those did nothing.
In plugin settings I left the defaults, so “Build tools using system GHC*” checked and “Use custom Haskell tools” unchecked. From those options I get the impression it should be working without me installing and setting up anything manually.
Plugin version: 1.0.0-beta66 IntelliJ IDEA 2019.3.4 (Ultimate Edition) Linux (Manjaro stable, updated today)
Issue Analytics
- State:
- Created 3 years ago
- Comments:25 (15 by maintainers)
Top GitHub Comments
Yes, I should consider that because people don’t read the README 😄
You can still use Stylish-Haskell but it’s mapped to the default way of reformatting.
Yes, I also see nothing relevant in the log.
Yes, will do that in next version.