WilliamVenner / vscode-glua-enhanced

👨‍💻 Garry's Mod Lua VSCode Extension for enhanced auto completion, wiki integration, snippets, color palette, and much more...
https://marketplace.visualstudio.com/items?itemName=venner.vscode-glua-enhanced
GNU General Public License v3.0
395 stars 10 forks source link

Extension host terminated unexpectedly. #34

Open ghost opened 3 years ago

ghost commented 3 years ago

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

WilliamVenner commented 3 years ago

Please provide an example

ghost commented 3 years ago

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

Malivil commented 2 years ago

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