vscode-nodejs-repl icon indicating copy to clipboard operation
vscode-nodejs-repl copied to clipboard

const foo; Crashes plugin.

Open pakmans opened this issue 5 years ago • 3 comments

How to reproduce; Atrl-Shift-P Select "Node.js interactive window (REPL)" Write const foo; Save file. Crash.

Selection_244

pakmans avatar Nov 27 '19 19:11 pakmans

... 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.

pakmans avatar Nov 27 '19 19:11 pakmans

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.

lostfields avatar Nov 28 '19 06:11 lostfields

sorry, I haven't had time to do anything about that but I think I may have fixed it in version 0.5.14

lostfields avatar Jan 20 '20 21:01 lostfields