atom-haskell-archive / haskell-ghc-mod

haskell-ghc-mod atom package
https://atom.io/packages/haskell-ghc-mod
MIT License
69 stars 20 forks source link

Tokenizer error? #93

Closed trin-cz closed 8 years ago

trin-cz commented 8 years ago

Howering over multi-char operator shows type only for the one-char operator. As seen below. When howering over '.:' operator, type for '.' operator is shown. atom-ghc-mod-multichar-operators

lierdakil commented 8 years ago

Today I learned that Atom's TokenizedBuffer is a nightmare to work with. v1.5.8 uses mostly home-grown algorithm to find token near buffer position. Hopefully this resolves (most) of the problems. Thanks for reporting.

trin-cz commented 8 years ago

Perfect!

I have tried several times since december to get ghc-mod working with stack. First with Intellij and then last week with Atom. All failed for various reasons. Yesterday it was finally working and Haskell programming suddenly got much easier. Finally an actual IDE after all these years (I first started with Haskell in 2008). Great job you're doing!