-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #72: "[lua]: Couldn't find message for key config.*" console spam. #126
Conversation
Thank you! But it sounds like a VSCode issue. Maybe you could also submit a PR at the VSCode repository? |
Yeah, I think that used to be microsoft/vscode-nls but now it's microsoft/vscode-l10n (aka Maybe I'll take a peek. |
Not sure if it was fixed. I still have the same problem. Basically the extension host terminates as soon as .Lua file is opened.
|
@aungkhant0911 you appear to have a larger problem that what this PR is about. The VS Code extension host (the runtime that runs all extensions) crashing is unrelated but concerning. Can you try disabling all extensions except for the Lua extension and try to replicate the issue? If it persists with the Lua extension, please open an issue. As for the Lua log messages, there has not been a release yet that contains this fix. |
I only have one extension and that is this one. Other extensions which were uninstalled (because I was testing) worked just fine. Eg; Pylance/Python debug codes just fine. Only this one got a problem. Fyi, I have downgraded to at least 6 versions now............ |
Please open a new issue. This issue is related to a bunch of excessive warnings that are outputted to the console. You are seeing these but they are harmless and unrelated to your crashing issue. |
Currently when VSCode is launched from the CLI with
code
the console is spammed with a bunch of output. This fixes that.I believe the errors occur because in Javascript:
Boolean('') == false
.By replacing it with a placeholder value
"TODO: Needs documentation"
it becomes 'truthy' and no longer complains about missing messages.