vscode-nodejs-repl
vscode-nodejs-repl copied to clipboard
const foo; Crashes plugin.
How to reproduce;
Atrl-Shift-P
Select "Node.js interactive window (REPL)"
Write
const foo;
Save file.
Crash.
... actually, plugin crashes constantly while typing because it is trying to evaluate at every step. For example, you write 2 + 2; works fine. Then you move cursor to modify expression, and when you add an opening parethesis, plugin crashes. Its a nice idea, but at this stage I think it is pretty much unusable.
I can see that, this shouldn't crash the extension but rather exit the REPL and notify user about syntax errors.
I'm going to take a look.
sorry, I haven't had time to do anything about that but I think I may have fixed it in version 0.5.14