rust-analyzer/crates
bors 0fb804acb3 Auto merge of #18245 - boattime:master, r=davidbarsky
fix: include description in label details when detail field is marked for …

Fixes https://github.com/rust-lang/rust-analyzer/issues/18231.

When omitting the autocomplete detail field, the autocomplete label details can still be returned. Currently the label details are missing the description field if the detail field is included in resolveSupport since it is being overwritten as None and opted to be sent with `completionItem/resolve`.

Example completion capabilities.
```
completion = {
    completionItem = {
        commitCharactersSupport = true,
        deprecatedSupport = true,
        documentationFormat = { "markdown", "plaintext" },
        insertReplaceSupport = true,
        insertTextModeSupport = {
            valueSet = { 1, 2 }
        },
        labelDetailsSupport = true,
        preselectSupport = true,
        resolveSupport = {
            properties = { "documentation", "detail", "additionalTextEdits", "sortText", "filterText", "insertText", "textEdit", "insertTextFormat", "insertTextMode" }
        },
        snippetSupport = true,
        tagSupport = {
            valueSet = { 1 }
        }
}
```
2024-10-09 20:23:52 +00:00
..
base-db Lift out workspace related data into a separate query to preserve crategraph deduplication 2024-09-11 12:16:41 +02:00
cfg Gate #[test] expansion under cfg(test). 2024-09-30 00:12:45 +03:00
hir Auto merge of #18227 - davidbarsky:davidbarsky/push-lmntvwvznyyx, r=davidbarsky 2024-10-04 17:59:02 +00:00
hir-def Auto merge of #18210 - ChayimFriedman2:label-macro, r=Veykril 2024-09-30 13:09:54 +00:00
hir-expand Fix prettify_macro_expansion() when the node isn't the whole file 2024-10-05 22:39:33 +03:00
hir-ty include fn prefix for all callable defs 2024-10-08 11:37:08 -07:00
ide Fix prettify_macro_expansion() when the node isn't the whole file 2024-10-05 22:39:33 +03:00
ide-assists Merge from rust-lang/rust 2024-10-08 14:25:39 +03:00
ide-completion Fix: Handle block exprs as modules when finding their parents 2024-10-01 14:05:15 +09:00
ide-db Auto merge of #18234 - Veykril:veykril/push-vzynqtlxmrnl, r=Veykril 2024-10-04 10:26:04 +00:00
ide-diagnostics Fix ambiguity with CamelCase diagnostic messages 2024-09-29 16:35:37 +08:00
ide-ssr Properly account for editions in names 2024-08-16 16:46:24 +03:00
intern Merge from rust-lang/rust 2024-09-25 09:00:53 +03:00
limit Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
load-cargo Gate #[test] expansion under cfg(test). 2024-09-30 00:12:45 +03:00
mbe Add missing rustc_private 2024-09-25 10:56:37 +03:00
parser Run rustfmt 2024-09-25 09:26:15 +03:00
paths Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
proc-macro-api Properly set the working directory for proc-macro execution 2024-09-11 12:23:12 +02:00
proc-macro-srv fix: Fix TokenStream::to_string implementation dropping quotation marks 2024-08-29 08:45:35 +02:00
proc-macro-srv-cli Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
profile Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
project-model Gate #[test] expansion under cfg(test). 2024-09-30 00:12:45 +03:00
rust-analyzer Auto merge of #18245 - boattime:master, r=davidbarsky 2024-10-09 20:23:52 +00:00
salsa Drop Apache license appendices 2024-08-27 14:52:34 +03:00
span internal: Filter out opaque tokens in some of IDE feature macro descensions 2024-10-04 11:53:12 +02:00
stdx Use crossbeam-channel from the workspace 2024-08-09 23:48:03 +02:00
syntax Rename object_safety to dyn_compatibility 2024-09-29 07:26:45 -04:00
syntax-bridge When glueing together tokens from macros, merge their spans 2024-09-29 22:58:15 +03:00
test-fixture Always cache macro expansions' root node in Semantics 2024-09-17 00:19:39 +03:00
test-utils fix: Always explicitly set trait ref self types when lowering 2024-09-06 14:06:41 +02:00
text-edit Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
toolchain Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
tt Support the ${concat(...)} metavariable expression 2024-09-19 22:19:12 +03:00
vfs Rename object_safety to dyn_compatibility 2024-09-29 07:26:45 -04:00
vfs-notify Auto merge of #17843 - mo8it:flycheck, r=Veykril 2024-08-12 09:27:47 +00:00