vscode-glua-enhanced icon indicating copy to clipboard operation
vscode-glua-enhanced copied to clipboard

Extension host terminated unexpectedly.

Open ghost opened this issue 3 years ago • 3 comments

when writing invalid syntax in a file which isnt in a folder (only in memory/tmp), it freaks out and crashes the extension host lol

ghost avatar Aug 25 '21 13:08 ghost

Please provide an example

WilliamVenner avatar Aug 25 '21 17:08 WilliamVenner

open vscode-oss without a folder, click "new file" on the explorer menu, and type some invalid gLua code

ghost avatar Aug 25 '21 17:08 ghost

I get this error for any syntax error, even for files that have been previously saved. All I have to do is cause a syntax error.

For example, changing this: CreateConVar("ttt_roundtime_minutes", "10", FCVAR_NOTIFY) to this: CreateConVar(ttt_roundtime_minutes", "10", FCVAR_NOTIFY) causes the error. Notice the deleted first "

Here is a dump of the errors from my console when it happens GLuaError.txt

Malivil avatar Sep 22 '21 22:09 Malivil