usernamehw / vscode-error-lens

VSCode extension that enhances display of errors and warnings.
https://marketplace.visualstudio.com/items?itemName=usernamehw.errorlens
MIT License
584 stars 32 forks source link

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

Open riceboyler opened 1 month ago

riceboyler commented 1 month ago

First, the vitals:

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!)

rafaskb commented 1 month ago

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

usernamehw commented 1 month ago

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

usernamehw commented 1 month ago

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

rafaskb commented 1 month ago

@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).

pycckuu commented 1 month ago

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