hindent icon indicating copy to clipboard operation
hindent copied to clipboard

Feature request: space before #if and after #endif

Open pikajude opened this issue 7 years ago • 0 comments

hindent turns this

import Text.Read (readMaybe)

#ifdef HACKAGE
import Hackage
#else
testHackage _ = pure ()
#endif

newtype GetPackage = GetPackage {...}

into this:

import Text.Read (readMaybe)
#ifdef HACKAGE
import Hackage
#else
testHackage _ = pure ()
#endif
newtype GetPackage = GetPackage {...}

which isn't very pretty to read.

pikajude avatar Feb 16 '18 04:02 pikajude