vscode-error-lens icon indicating copy to clipboard operation
vscode-error-lens copied to clipboard

Some error messages still appear automatically even with "On Save" enabled

Open briankendall opened this issue 3 years ago • 2 comments

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.

briankendall avatar Jan 06 '22 20:01 briankendall

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.

briankendall avatar Jan 06 '22 20:01 briankendall

Happens for me even if only On Save is enabled as well.

bug-author avatar Nov 22 '23 16:11 bug-author

Potentially was solved by 55b8e3e.

usernamehw avatar Jun 21 '24 18:06 usernamehw