mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 19:10:24 +00:00
Do not resolve more completion fields (#19021)
As Zed instantly shows completion items in the completion menu, and the resolve will cause the details to appear, flickering. We can safely resolve the `documentation`, `additionalTextEdits` and `command` fields, the rest should be resolved eagerly for now. Release Notes: - Fixed completion menu rendering
This commit is contained in:
parent
972886c29e
commit
9bc4e3b4ae
1 changed files with 0 additions and 4 deletions
|
@ -626,11 +626,7 @@ impl LanguageServer {
|
||||||
properties: vec![
|
properties: vec![
|
||||||
"additionalTextEdits".to_string(),
|
"additionalTextEdits".to_string(),
|
||||||
"command".to_string(),
|
"command".to_string(),
|
||||||
"detail".to_string(),
|
|
||||||
"documentation".to_string(),
|
"documentation".to_string(),
|
||||||
"filterText".to_string(),
|
|
||||||
"labelDetails".to_string(),
|
|
||||||
"tags".to_string(),
|
|
||||||
// NB: Do not have this resolved, otherwise Zed becomes slow to complete things
|
// NB: Do not have this resolved, otherwise Zed becomes slow to complete things
|
||||||
// "textEdit".to_string(),
|
// "textEdit".to_string(),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue