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

Configure inline diagnostics delay (preset 350ms) #11963

Open
ok-nick opened this issue Oct 29, 2024 · 2 comments
Open

Configure inline diagnostics delay (preset 350ms) #11963

ok-nick opened this issue Oct 29, 2024 · 2 comments
Labels
C-enhancement Category: Improvements

Comments

@ok-nick
Copy link

ok-nick commented Oct 29, 2024

Hi, it would be nice if we could configure the inline diagnostics delay found here:

const TIMEOUT: Duration = Duration::from_millis(350);

I'm currently using end of line diagnostics with inline diagnostics on the cursor line and it would be nice to display inline diagnostics instantly. I'm assuming the reason this delay was added was to address performance concerns when using the other-lines setting?

@ok-nick ok-nick added the C-enhancement Category: Improvements label Oct 29, 2024
@poliorcetics
Copy link
Contributor

IIRC it's also to avoid flickering when quickly scrolling through lines

@llakala
Copy link

llakala commented Nov 10, 2024

I'd like this for a different reason: to put a longer delay. While typing a new line, I get constant errors even though I haven't finished typing yet. I'd want a delay of 2-3 seconds without keystrokes before the error actually popped up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

3 participants