haskelly-dev / Haskelly

Haskelly is a VS Code extension that provides complete support for casual and expert Haskell development.
https://marketplace.visualstudio.com/items?itemName=UCL.haskelly
GNU General Public License v3.0
152 stars 17 forks source link

Add a required space in the regex which extracts the current project … #77

Closed jartur closed 6 years ago

jartur commented 6 years ago

…path from a stack query result to avoid matching accidental package versions instead.

I am not sure if this is a fireproof solution for the future, but without changing the whole code to properly parse the query result instead of just regexing it, it seems to work fine.

martrik commented 6 years ago

Ok! Let's have this for now and we can change it in the future if the regex approach becomes unfeasible. Thanks for your contribution @jartur :)