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

Artifacts are appearing when working with split editors showing errors mirrored from one file to another

Open riceboyler opened this issue 1 year ago • 5 comments

First, the vitals:

  • VSCode version 1.91.1
  • ErrorLens version 3.20.0

I've only seen this start happening since the update to VS Code 1.91. image

As seen in the image above, if I use side by side editors, the error messages are effectively mirrored to the second editor. I point out the 3 instances of the "mirroring" happening here as a demonstration of it. Additionally, prior to 1.91, the Error Lens messages seemingly weren't rendered as inline text (i.e. clickable). Now, they are which means if I need to edit a line with an Error Lens message attached, I have to scroll WAY over to get to the end of the message.

I'm fairly certain this is all due to the rendering changes made in VSCode 1.91, but unfortunately the updates fall back to the developer of this extension (which is absolutely outstanding otherwise!)

riceboyler avatar Jul 18 '24 19:07 riceboyler

Same exact issue here, also on VSCode 1.91.1 and ErrorLens 3.20.0.

rafaskb avatar Jul 20 '24 11:07 rafaskb

Does it only happen when other extensions provide decorations (like GitLens or Import Cost)?

usernamehw avatar Jul 20 '24 12:07 usernamehw

Or is it only happening when "errorLens.delay" is enabled?

usernamehw avatar Jul 20 '24 12:07 usernamehw

@usernamehw I just disabled all decorations from GitLens and others to test the issue but the problem persists. Removing the delay seems to fix it (it was set to 1000 before, I changed to 0).

rafaskb avatar Jul 20 '24 13:07 rafaskb

Setting "errorLens.delay" to 0 does not resolve the issue for me.

pycckuu avatar Jul 22 '24 11:07 pycckuu

I will assume that this issue only happens when delay is set and that should be fixed by now.

usernamehw avatar Feb 28 '25 12:02 usernamehw