vscode-error-lens
vscode-error-lens copied to clipboard
Some error messages still appear automatically even with "On Save" enabled
I'm seeing inline messages appear in a file as I type, even when "On Save" is enabled and I haven't yet saved.
I've reproduced the issue in both C# and javascript files (i.e. extension cs and js). The trigger seems to be writing a function, typing an open curly brace { and then pressing enter, e.g.:
function someFunction() {
in a js file. That immediately gets me a '}' expected inline error message. If I type a close curly brace so there's no longer an error and press enter, the error message goes away. This happens without me ever saving the file though, and this is all while "On Save" is enabled.
Looks like this happens when both "On Save" and "Status Bar Message Enabled" are enabled. If I disable status bar messages then the issue goes away.
Happens for me even if only On Save is enabled as well.
Potentially was solved by 55b8e3e.