rikvdkleij / intellij-haskell

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

Highlight infixed (with backticks) functions #632

Open declension opened 3 years ago

declension commented 3 years ago

Hi! It'd be great if the plugin parsed and presented infix versions of operators differently (perhaps more like operators?) so that

foo `elem` bar
elem foo bar 

render slightly differently (as they do in Github here FWIW)

Also especially useful for HSpec etc

it "should obey negation" $
    not True `shouldBe` False

etc

rikvdkleij commented 3 years ago

Thanks for reporting!

Good suggestion, should be doable.