-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Autocomplete completions are cut in half #8126
Labels
needs-repro
Needs reproduction steps / someone to reproduce
popovers
Feedback for tooltips, syntax hints, info popups, toasts, etc
python
Python programming language support
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@effdotsh Thank you for providing a fix so quickly |
This was referenced Mar 9, 2024
ConradIrwin
added a commit
that referenced
this issue
Apr 1, 2024
Release Notes: - Fixed LSP completions being cut in half ([#8126](#8126)). Previously, autocomplete suggestions were covered by autocomplete documentation, which only appeared after a short delay. Now, when an autocomplete suggestion is too long to fit, the name is truncated with ellipses like how VSCode does it:  Additionally `completion_documentation_secondary_query_debounce`'s default was changed from 300ms to 0ms, which makes the editor feel significantly faster (in my opinion). Before: https://github.com/zed-industries/zed/assets/50590465/6443670b-fe25-4428-9a39-54405d9a7cec After: https://github.com/zed-industries/zed/assets/50590465/72572487-3eb4-4a96-a2f9-608e563a1f05 --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com> Co-authored-by: Conrad <conrad@zed.dev> Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@willlma Can you you (or anyone else) provide a minimal repo and Zed settings that reproduces this issue? I'd like to see if we can't get this sorted. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
needs-repro
Needs reproduction steps / someone to reproduce
popovers
Feedback for tooltips, syntax hints, info popups, toasts, etc
python
Python programming language support
Summary
Long LSP completion suggestions can be cut in half.
Describe the bug / provide steps to reproduce it
Description: the entries of the auto-completion dialog are often cut in half.
Steps to reproduce: write a piece of code and wait for the autocompletions to appear. You will see that initially the text is not cut in half but after some milliseconds the right-side type-predictions (in grey color) appear overlapping the left side.
Environment
OS: MacOS 14.3.1 (23D60)
SoC: M1 8GB
Zed version: 0.122.2
Screenshot
The text was updated successfully, but these errors were encountered: