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

Load GHCI button does not work with file names with spaces #107

Open jgrocha opened 1 year ago

jgrocha commented 1 year ago

Load GHCI action should protect the filename using quotes.

Steps to reproduce

Create a file name with spaces, like "once upon a time.lhs"

Expected behaviour

Load GHCI button should run:

stack ghci --ghci-options "once upon a time.lhs"

Actual behaviour

stack ghci --ghci-options once upon a time.lhs