zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.58k stars 3.04k forks source link

Setting/Customization request -- show_completions_on_input: "300ms" #17294

Open SephReed opened 2 months ago

SephReed commented 2 months ago

Check for existing issues

Describe the feature

Simple feature (for those who know the codebase better than I). This would make suggestions hidden while typing and wait for a user pause of chosen time.

Main goals The primary goal is to not show information when it isn't needed (or wanted).

How it would work:

The I find most debatable about this suggestion: UX question: Should the completions disappear when someone starts typing again? Does this require more than one setting to give proper control? If so, is it worth adding an extra setting?

IMO, I don't want to see anything but what I'm typing while I'm typing. I would likely set my pause in the range of 300-600ms.

If applicable, add mockups / screenshots to help present your vision of the feature

image
SephReed commented 2 months ago

This was originally a question. In it is a video of me typing and my screen going -- humbly -- totally wild:

https://github.com/zed-industries/zed/discussions/17260#discussion-7126350