Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable delay for problem diagnostics #63737

Closed
usernamehw opened this issue Nov 25, 2018 · 7 comments
Closed

Configurable delay for problem diagnostics #63737

usernamehw opened this issue Nov 25, 2018 · 7 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@usernamehw
Copy link
Contributor

error

I would like to debounce decoration rendering for errors/warning. Not sure about info/hint.

"editor.errorDelay": number, // ms
"editor.warningDelay": number, // ms
  • This is not a performace issue
  • Even when decoration span is 1 line (not like the entire screenshot above) it would still be a good feature
@sandy081
Copy link
Member

@usernamehw What is the need to make it configurable?

@sandy081 sandy081 added the info-needed Issue requires more information from poster label Nov 27, 2018
@usernamehw
Copy link
Contributor Author

@sandy081 For the same reason Zen Mode exists.

@sandy081
Copy link
Member

@usernamehw Sorry I did not find the relation. Can you please elaborate?

@usernamehw
Copy link
Contributor Author

@sandy081 To not see anything that can grab your attention.
Overwhelming majority of warnings will be fixed on save, most of the errors - I'm just not finished typing.

The conclusion - they are often shown to the user for no reason.

@sandy081
Copy link
Member

Instead of delay, what you need is not to validate until save? And this has to be supported by the extensions owning diagnostics and not through platform.

@usernamehw
Copy link
Contributor Author

Yes, it should also trigger rendering of errors/warnings on save.

So ... to delay rendering of vscode decorations the only way is to support it - is somehow from language extensions...

@sandy081
Copy link
Member

Yes.

Hence closing this as it is extension supported feature.

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants