zed/crates/gpui/src
Ephram 6e49a2460e
Fix autocomplete completions being cut in half (#8327)
Release Notes:

- Fixed LSP completions being cut in half
([#8126](https://github.com/zed-industries/zed/issues/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:

![image](https://github.com/zed-industries/zed/assets/50590465/bf3c6271-7d7a-44b1-ab76-647df5620fcd)

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>
2024-04-01 13:20:51 -06:00
..
app collab ui: Fix notification windows on external monitors (#9817) 2024-03-26 13:07:38 -07:00
elements Fix autocomplete completions being cut in half (#8327) 2024-04-01 13:20:51 -06:00
keymap docs: Fix "it's" typos that should be "its" (#8690) 2024-03-01 20:32:27 -05:00
platform Revert "Fix key repeat after releasing a different key on Wayland" (#10039) 2024-04-01 11:43:52 -07:00
text_system Fix compute_width_for_char (#9643) 2024-03-22 09:10:42 +01:00
window gpui: Add SVG rendering to img element and generic asset cache (#9931) 2024-03-29 17:09:49 -07:00
action.rs Vim: enable sending multiple keystrokes from custom keybinding (#7965) 2024-02-20 15:01:45 -07:00
app.rs gpui: Add SVG rendering to img element and generic asset cache (#9931) 2024-03-29 17:09:49 -07:00
arena.rs Log if element arena allocation is >80% 2024-01-24 11:03:28 +01:00
asset_cache.rs gpui: Add SVG rendering to img element and generic asset cache (#9931) 2024-03-29 17:09:49 -07:00
assets.rs gpui: Add SVG rendering to img element and generic asset cache (#9931) 2024-03-29 17:09:49 -07:00
bounds_tree.rs Fix flickering (#9012) 2024-03-11 10:45:57 +01:00
color.rs GPUI custom window prompts (#8980) 2024-03-06 18:15:06 -08:00
element.rs Fix flickering (#9012) 2024-03-11 10:45:57 +01:00
executor.rs Add a command for building and installing a locally-developed Zed extension (#8781) 2024-03-06 15:35:22 -08:00
geometry.rs Improve diagnostic header UI (#9888) 2024-03-27 14:30:27 -07:00
gpui.rs gpui: Add SVG rendering to img element and generic asset cache (#9931) 2024-03-29 17:09:49 -07:00
input.rs Document / lockdown more of GPUI 2024-01-21 14:26:45 -08:00
interactive.rs Handle first click on Zed window (#9553) 2024-03-25 10:52:18 -07:00
key_dispatch.rs Action release handlers (#8782) 2024-03-20 18:43:31 -06:00
keymap.rs chore: Bump Rust version to 1.76 (#7592) 2024-02-09 10:45:39 +02:00
platform.rs Fix Recent Documents List (continues #8952) (#9919) 2024-03-29 23:17:25 +02:00
prelude.rs Document / lockdown more of GPUI 2024-01-21 14:26:45 -08:00
scene.rs Add an animation to the LSP checking indicator (#9463) 2024-03-19 10:16:18 -07:00
shared_string.rs Add logic for managing language and theme extensions (#7467) 2024-02-07 15:14:50 -05:00
shared_uri.rs Rework loading images from files (#7088) 2024-01-30 11:26:02 -05:00
style.rs Fix flickering (#9012) 2024-03-11 10:45:57 +01:00
styled.rs Fix flickering (#9012) 2024-03-11 10:45:57 +01:00
subscription.rs Switch Arc<Mutex<Keymap>> to Rc<RefCell<Keymap>>, a relic of the GPUI2 port. 2024-01-22 19:30:38 -08:00
svg_renderer.rs gpui: Add SVG rendering to img element and generic asset cache (#9931) 2024-03-29 17:09:49 -07:00
taffy.rs Fix flickering (#9012) 2024-03-11 10:45:57 +01:00
test.rs Throttle the sending of UpdateFollowers messages (#8918) 2024-03-06 14:58:41 +01:00
text_system.rs Fix flickering (#9012) 2024-03-11 10:45:57 +01:00
util.rs Pull out fluent builder helpers into re-usable trait 2024-01-18 15:31:31 -08:00
view.rs Fix flickering (#9012) 2024-03-11 10:45:57 +01:00
window.rs gpui: Add support for window transparency & blur on macOS (#9610) 2024-03-29 11:10:47 -04:00