Eugleo / magic-racket

The best coding experience for Racket in VS Code
https://marketplace.visualstudio.com/items?itemName=evzen-wybitul.magic-racket
GNU General Public License v3.0
202 stars 28 forks source link

"Load file in REPL" not compatible with spaces in racket executable path #46

Closed harry-xm closed 2 years ago

harry-xm commented 3 years ago

Environment

Error message

racket-presentations % /Applications/Racket v8.1/bin/racket
zsh: no such file or directory: /Applications/Racket

Additional context

Trying to start an REPL.


If relevant, please enclose a minimal example file which triggers the errors. If you're unable to enclose the file, please do the following instead:

  1. Enable logging in Magic Racket's settings.
  2. Restart VS Code.
  3. Open the problematic file.
  4. Trigger the error.
  5. Copy the whole log from Output > Racket Language Server into some text file and enclose it to your bug report.
Eugleo commented 3 years ago

Can't test atm, but did you try escaping the spaces manually in the racket path in the settings? Like /Applications/Racket\ v8.1/bin/racket