atom-haskell / ide-haskell

Haskell IDE plugin for Atom editor

Home Page:https://atom.io/packages/ide-haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prettify deletes bookmarks

theGhostJW opened this issue · comments

bookmarks in a file are deleted when prettify is invoked (windows).

to reproduce: add bookmarks -> prettify -> ()

Since prettify rewrites whole file, I'm not sure how one would keep bookmarks. Line numbers can change, and there's no direct way of knowing what lines went where...

If bookmarks are present insert one line comments above that line number in text pre-pettify then record remove and re set bookmarks after completion ???? would that work?

Comments can change the result though, especially in case of stylish-haskell...