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

Ability to only lint on save #41

Open
benstigsen opened this issue Dec 9, 2022 · 0 comments
Open

Ability to only lint on save #41

benstigsen opened this issue Dec 9, 2022 · 0 comments

Comments

@benstigsen
Copy link

It'd be nice if the LSP could be set to run only on each save, instead of every character change and so on.
Not only would this require less CPU, but it'd also be nice with something like mypy lsp, which is already slow to begin with, like several seconds between each change.

I'm not sure about this, but this might also make "old errors / warnings" be there less often, which some times hang around, even after changing the line.

jgmdev added a commit that referenced this issue Dec 16, 2022
* fixes to handling of inline diagnostics timing to tackle #41
* added config option to control the delay amount of inline diagnostics
* added support for window/showDocument and window/showMessage (not
  tested)
* prevent loading linewrapping if disabled from settings ui, should now
  really fix #39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant