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

Errors and Warnings do not show when the same file is open in two tabs #118

Closed rgleichman closed 8 years ago

rgleichman commented 8 years ago

Here's a screenshot: atom_screenshot

When the same file is open in multiple tabs (eg. by right clicking on the tab -> split right), the gutter error/warning triangles and corresponding text highlighting only displays for one of the tabs.

Clicking on the line numbers for the error (in this case /home/robbie/git/robbie/glance/app/Translate.hs: 112, 47) in the bottom panel still moves the cursor in both tabs.

Versions: haskell-ghc-mod 1.6.6 ide-haskell 1.3.9 Atom 1.4.0 Ubuntu 14.04 Ghc Modi is enabled

lierdakil commented 8 years ago

Probably a problem with ide-haskell itself. I'll take a look when I'm able.

rgleichman commented 8 years ago

Thank you for fixing this. It now works for me with ide-haskell 1.5.2