aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src/completions/record.rs
Commit message (Collapse)AuthorAgeFilesLines
* rename completion -> ide_completionAleksey Kladov2021-02-171-390/+0
| | | | We don't have completion-related PRs in flight, so lets do it
* Partially unify SymbolKind and CompletionItemKindLukas Wirth2021-01-201-5/+3
|
* Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-14/+14
|
* Strip completion prefix of what has already been typedNick Spain2021-01-011-5/+4
| | | | | Per Veykril's suggestion, this removes the need to repeat the completion text twice. It also handles the completion in a more general case.
* Add a test for correct completion of ..Default::default()Nick Spain2021-01-011-1/+61
|
* Fix completion of Default struct update syntaxNick Spain2020-12-311-1/+6
| | | | | | | | Previously the inserted text was always `..Default::default()` which ends up as `...Default::default()` if `.` was typed. Now checks if the current token is `.` and inserts `.Default::default()` if it is, so `..Default::default()` is correctly completed. Fixes #6969
* Keep the original completion order in testsKirill Bulatov2020-12-191-2/+2
|
* Move the helpers into ide_dbKirill Bulatov2020-11-281-2/+2
|
* Extract the import code into the shared moduleKirill Bulatov2020-11-271-2/+2
|
* add suggestion ..Default::default() for remaining struct fields in a ↵Benjamin Coenen2020-11-131-3/+105
| | | | | | constructor #6492 Signed-off-by: Benjamin Coenen <[email protected]>
* Reorganize completions structureIgor Aleksanov2020-10-251-0/+226