Closed vagreargnatry closed 1 year ago
Hi and thank you very much for your bug report.
I see. What is happening here is that I'm loading the source file using something like
(load "C:\Users\omenl\Desktop")
and Chez thinks the \U
is a non-existing escape sequence. I'm adding escaping of backslashes in file paths to the extension as soon as possible, I should be able to publish a new version today (until 00:00 CEST).
As a temporary workaround you can send the whole file to the interactive REPL by using a right click in the source file or the tab of the source file and selecting Chez Scheme REPL: Send the whole current file to the REPL or using the command Chez Scheme REPL: Send the whole current file to the REPL.
The new version 0.2.0 should fix this. Could you please check if the error has gone away? I do not have Windows myself and can't test it.
VS Marketplace Open VSX Marketplace latest release at GitHub
Thank you! This error has been resolved.
Glad to hear, and thank you for your help!
Describe the bug When I press Ctrl+Enter, the following error occurs:
To Reproduce Steps to reproduce the behavior:
C:\Program Files\Chez Scheme 9.5.8\bin\ta6nt
to the user environment variable PATH.C:\Users\omenl\Desktop
.In this folder, I created a file named
sample1.scm
and put the following code in it.Expected behavior Eval s-expression left of the cursor.
Screenshots![1](https://github.com/Release-Candidate/vscode-scheme-repl/assets/104709852/1c267bca-3f7a-465b-8077-c4cc6e14ce13)
Logs
Environment (please complete the following information):
v0.1.0
1.79.2
Windows 11 22H2
Additional context After trying the aforementioned steps, I created a new folder called
.vscode
within the directory and added a file named.settings.json
inside it. In this file, I set the value ofchezScheme.schemePath
toC:\\Program Files\\Chez Scheme 9.5.8\\bin\\ta6nt
. But the error still occurs.