rikvdkleij / intellij-haskell

IntelliJ plugin for Haskell
https://rikvdkleij.github.io/intellij-haskell/
Apache License 2.0
1.31k stars 94 forks source link

Newline tabs not working within context #400

Open drewboardman opened 5 years ago

drewboardman commented 5 years ago

Behavior: newlines not starting with tabs where they should.

thing :: Int -> Int
thing a = b where
b = a + 1
-- it's putting newline directly with no tabs
rikvdkleij commented 5 years ago

See #187 and #156

It’s difficult to implement in general. Also because the parser is not layout sensitive.