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

diagnostic error hints when typing are sometimes annoying #6668

Open
el1s7 opened this issue Nov 14, 2024 · 0 comments
Open

diagnostic error hints when typing are sometimes annoying #6668

el1s7 opened this issue Nov 14, 2024 · 0 comments
Assignees
Labels
needs repro Issue has not been reproduced yet

Comments

@el1s7
Copy link

el1s7 commented Nov 14, 2024

I don't know if something changed this past few months in this extension or VS Code in general (or if it's just me xD), but the error hints seem to somehow be getting more annoying.

Like, I still haven't finished typing a line of code but I will instantly get a red line hovering on anything while I'm still typing, not only annoying but also distracting. Example (notice the instant red underline):

Image

It would be really good if there were some configuration options such as:

  • diagnosticReportDelay: to set a custom delay/debounce timeout for diagnostic error reporting (i.e. how many ms after typing)
  • dianosticReportOnlyOnSave: to only show the error reporting when the file is saved.

It seems that there was an option before for setting the delay in the old microsoft/pylance-release (namely diagnosticPublishDelay), but there's no option anywhere now.

For comparison, if we look at this actual repo showcase GIF in readme from 3 years ago, you can notice that there is a bit longer delay before the warning underline report as you type.

Also, I just noticed that if I disable Pylance, and VS Code fallbacks to Jade, then there's a bit longer delay as well.

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Issue has not been reproduced yet
Projects
None yet
Development

No branches or pull requests

2 participants