mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 19:10:24 +00:00
c01403b4b1
Leaving release notes as N/A because it had release notes in the past in #21705 In #21286, documentation resolution was made more efficient by only resolving the current completion. However, this meant that single line documentation shown inline in the menu was missing until scrolled to. This also meant that it would wait for navigation to resolve completion docs, leading to lag for displaying documentation. This change resolves this by attempting to fetch all the completions that will be shown. It also mostly avoids re-resolving completions. It intentionally re-resolves the current selection on navigation, as some language servers will respond with more information later on. Release Notes: - N/A
46 lines
937 B
TOML
46 lines
937 B
TOML
[package]
|
|
name = "util"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "Apache-2.0"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/util.rs"
|
|
doctest = true
|
|
|
|
[features]
|
|
test-support = ["tempfile", "git2", "rand"]
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-fs.workspace = true
|
|
collections.workspace = true
|
|
dirs.workspace = true
|
|
futures-lite.workspace = true
|
|
futures.workspace = true
|
|
git2 = { workspace = true, optional = true }
|
|
globset.workspace = true
|
|
itertools.workspace = true
|
|
log.workspace = true
|
|
rand = { workspace = true, optional = true }
|
|
regex.workspace = true
|
|
rust-embed.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
smol.workspace = true
|
|
take-until = "0.2.0"
|
|
tempfile = { workspace = true, optional = true }
|
|
unicase.workspace = true
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
tendril = "0.4.3"
|
|
dunce = "1.0"
|
|
|
|
[dev-dependencies]
|
|
git2.workspace = true
|
|
rand.workspace = true
|
|
tempfile.workspace = true
|