usernamehw / vscode-error-lens

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

[bug] Sync problem #212

Open Songggggr opened 2 months ago

Songggggr commented 2 months ago

If set it, error not sync, even if it is fixed

"extensions.experimental.affinity": {
    "golang.go": 2
  }

image

usernamehw commented 2 months ago

I don't use Go.

If extension works fine but stops with "extensions.experimental.affinity" - then file an issue with VSCode repo.

jonlepage commented 2 months ago

I don't use Go.

If extension works fine but stops with "extensions.experimental.affinity" - then file an issue with VSCode repo.

hi, I don't use Go (TS), but I've also noticed several serious issues these past few days.

With the last update of VSCode and yours plugin, it feels like everything is broken. I'm experiencing several minutes of latency between error inline messages. Switching between two tabs instantly fixes the issue, but it's quite disruptive to have to switch tabs after each fix!

Moreover, I've wasted several minutes on a problem that was already solved before understand the issue .

I've tried several configurations in Error Lens: Delay Mode such as Debounce, old, new, but they're all broken at different levels! I hope the VSCode team can guide you on this issue. If you open a issue plz share i will got vote for bring this to priority !

I haven't been able to identify a triggering factor for this behavior, unfortunately. Sorry to ne able to help you more.

usernamehw commented 2 months ago

With the last update of VSCode and yours plugin

This doesn't help that much. What works?

Ext ver / VSCode ver 1.89.1 1.90.2
v?.??.?
v3.18.0
v3.20.0
jonlepage commented 2 months ago

Oki np, I'll will just wait a few week for Microsoft to fix the outstanding issues from the last update, there were some stability issues, including one I reported. https://github.com/microsoft/vscode/issues/214496

If there's no more information by ~ next week or more users with same issue, I'll will try take a day to try to understand where the "error-len" latency problem is coming from on my side ! I have very few plugins, but I don't really have a suitable environment for debugging VSCode extensions or collecting extensions data and with addition , I'm overloaded with a big project, so it's hard to take my focus off it for now.

jonlepage commented 2 months ago

@usernamehw I took a few minutes to make a video to clearly demonstrate the problem: Scrolling, saving, or triggering ESLint formatting does not update the error message. Only switching to a different tab or waiting about 30 to 40 seconds will update the message. This problem also occurs randomly, e.g. about 1/5 when i edit code. some time it fast and instantly, sometime it juste idle ! It's very difficult to understand why !


ca3rfagaf3a3fg.webm

if you have any theory or want me testing fast setting, i take it !

jonlepage commented 2 months ago

update more info:

Unfortunately, the problem persisted.

I don't understand it anymore! Could the deactivation and reactivation of settings have fixed something in VSCode?? Or maybe I closed a file that contained code that was driving vscode-error-lens crazy? i have more than 400 files and some files have weird template string and emoji !? It's hard to say at this stage!

I will keep updated the issue, but my theory is that perhaps by activating "typescript.tsserver.experimental.enableProjectDiagnostics": true,, i have a specific file in the project workspace was breaking vscode-error-lens? I haven't been able to reproduce this issue, but if it happens again in the coming weeks, I'll have more information to understand this behavior.

vdawg-git commented 2 months ago

I also have high latency problems now with Typescript.

Could be a TS problem