vscode-language-renpy icon indicating copy to clipboard operation
vscode-language-renpy copied to clipboard

Windows: Renpy executable location doesn't work when Running unless the backslashes are escaped

Open TuulikkiUnelma opened this issue 1 year ago • 1 comments

On Windows, the Ren'Py: Launch option doesn't work unless the backslashes on the path to the Renpy Executable Location are escaped with other backslashes.

While the problem is solvable, I doubt that this is the intended behaviour since other extensions do not escape them on their path-related setting strings.

image This works.

image This doesn't, but I think it should.

I am on Windows 11.

TuulikkiUnelma avatar Nov 19 '23 19:11 TuulikkiUnelma

Hm, that's interesting. From a programmer point of view, the first one is the only correct one due to the way strings are processed.

From a user perspective, definitely a bug. We can add a bit of code that escapes the backslashes after the user added a path so it works as expected.

Anyone who's interested in contributing is welcome to pick this up :)

duckdoom4 avatar Feb 20 '24 22:02 duckdoom4