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 displaying the menu #619

Open
soifou opened this issue Dec 17, 2024 · 1 comment
Open

Configurable delay for displaying the menu #619

soifou opened this issue Dec 17, 2024 · 1 comment
Labels
backlog Likely not getting to it anytime soon feature New feature or request windows Module which displays UI

Comments

@soifou
Copy link
Contributor

soifou commented Dec 17, 2024

Feature Description

Similar to the documentation, the completion menu could benefit of an additional auto_show_delay_ms. This would be a middle ground between "always" (showing on every keystroke / min_keyword_length) and "never" (triggering manually).

From a UX perspective, this could reduces cognitive load by minimizing visual noise and display the list only during brief, intentional pauses. From a performance point of view, this could alleviate some unnecessary work.

Takes effect only if auto_show is enabled. The trigger characters should take priority over it.

Related: #446
Somewhat related: #402, #336

@soifou soifou added the feature New feature or request label Dec 17, 2024
@Saghen Saghen added windows Module which displays UI backlog Likely not getting to it anytime soon labels Dec 17, 2024
@hesxenon
Copy link

when completion is expensive this could also alleviate performance problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Likely not getting to it anytime soon feature New feature or request windows Module which displays UI
Projects
None yet
Development

No branches or pull requests

3 participants