Run: Renpy: Run project command doesn't support space in project path
hsandt opened this issue · 2 comments
hsandt commented
It's like https://github.com/LuqueDaniel/vscode-language-renpy/issues/79 but for the "Run: Renpy: Run project" command (the one we try to make work in https://github.com/LuqueDaniel/vscode-language-renpy/issues/115)
Repro
- Create Renpy project in a path with space (e.g. make the project folder contain 2 words "Two Words")
- Open the Renpy folder in VS code
- Setup Settings > Renpy > Renpy Executable Location if not already done
- Open palette and run the command: "Run: Renpy: Run project"
Expected: the game runs
Actual: the project path is read until the first space, breaking the path and preventing game launch
user@Computer:~/Projects/Renpy/Two Words$ /home/user/.local/bin/renpy.sh /home/user/Projects/Renpy/Two Words
Base directory '/home/leyn/Projects/Renpy/Two' does not exist. Giving up.
TuulikkiUnelma commented
I encountered this as well. I'm on Windows 11.
duckdoom4 commented
Any first time contributor's who'd like to help; feel free to pick this up. Should be relatively simple to solve :)