rust-analyzer/crates/ide-db/src/syntax_helpers
Wilfred Hughes 4c34352517 minor: Suggest better names when a type is a sequence
Previously, we'd suggest a type of `vec` for a value of type `Vec<T>`,
which is rarely what the user wants. We also had no suggestions for
values of type `&[T]`.

Instead, try to pluralise the inner type name, and fall back to
`items`.
2025-01-24 11:30:19 -08:00
..
format_string.rs Allow hir::Param to refer to other entity params aside from functions 2024-05-18 12:35:55 +02:00
format_string_exprs.rs Remove DescendPreference::SameText 2024-08-22 12:34:20 +02:00
node_ext.rs minor: New clippy lints 2025-01-06 17:57:17 +01:00
suggest_name.rs minor: Suggest better names when a type is a sequence 2025-01-24 11:30:19 -08:00
tree_diff.rs Move text-edit into ide-db 2024-10-28 14:37:41 +01:00