aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src/completions/unqualified_path.rs
Commit message (Collapse)AuthorAgeFilesLines
* Introduce more appropriate assertion mechanismAleksey Kladov2021-01-141-4/+2
| | | | | | | rust-analyzer is a long-running program, so we *should* handle assertion failures. See also https://www.sqlite.org/assert.html.
* Add a test for #7110Aleksey Kladov2021-01-141-0/+31
|
* Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-41/+41
|
* Align config's API with usageAleksey Kladov2021-01-061-10/+8
| | | | The config now is mostly immutable, optimize for that.
* YAGNI active_resolve_capabilitiesAleksey Kladov2021-01-061-6/+2
| | | | | | | | | This leaks a lot of LSP details into ide layer, which we want to avoid: https://github.com/rust-analyzer/rust-analyzer/tree/c9cec381bcfd97e5f3536e31a9c546ab5c0665e6/docs/dev#lsp-independence Additionally, all what this infra does is providing a toggle for auto-import completion, but we already have one!
* Small helpersKirill Bulatov2021-01-041-1/+1
|
* Code review fixesKirill Bulatov2021-01-041-9/+2
|
* Ignore associated items during unqialified path fuzzy completionsKirill Bulatov2021-01-041-1/+9
|
* Avoid a couple of allocationsLaurențiu Nicola2020-12-291-2/+2
|
* Tweak the fuzzy search limitsKirill Bulatov2020-12-281-1/+6
|
* Add docs and optimisationsKirill Bulatov2020-12-281-2/+2
|
* Better query api and fuzzy searchKirill Bulatov2020-12-281-1/+1
|
* Draft the module exclusion in modulesKirill Bulatov2020-12-281-1/+1
|
* Show enum variant completions for ref scrutineeLukas Wirth2020-12-201-1/+26
|
* Fewer allocationsKirill Bulatov2020-12-191-5/+7
|
* Tidy upKirill Bulatov2020-12-191-27/+21
|
* Keep the original completion order in testsKirill Bulatov2020-12-191-37/+37
|
* Add a slightly better fuzzy search heuristicsKirill Bulatov2020-12-191-10/+62
|
* Show first fuzzy completions fully containing the inputKirill Bulatov2020-12-171-5/+14
|
* Remove some redundant allocationsJeremy Kolb2020-12-121-1/+1
|
* Remove debug printAleksey Kladov2020-12-101-7/+5
|
* Minor, more orthogonal codeAleksey Kladov2020-12-101-9/+7
| | | | It's better to accept things as arguments rather than store them.
* Normalize spelling to American EnglishAleksey Kladov2020-12-101-5/+5
|
* Tweak the search query params for better lookup speedKirill Bulatov2020-12-081-31/+29
|
* Better config nameKirill Bulatov2020-12-081-2/+4
|
* Disable the completion for no corresponding client resolve capabilitiesKirill Bulatov2020-12-071-76/+58
|
* Document the featureKirill Bulatov2020-12-071-0/+43
|
* Less panic, more testsKirill Bulatov2020-12-071-2/+39
|
* Use stateless completion resolveKirill Bulatov2020-12-071-4/+6
|
* Move the helpers into ide_dbKirill Bulatov2020-11-281-1/+1
|
* Extract the import code into the shared moduleKirill Bulatov2020-11-271-1/+1
|
* Merge #6614 #6632bors[bot]2020-11-261-26/+28
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6614: Improve autoimports on completion speed r=matklad a=SomeoneToIgnore Presumably closes https://github.com/rust-analyzer/rust-analyzer/issues/6594 May help https://github.com/rust-analyzer/rust-analyzer/issues/6612 * Ignore modules eaferly * Do less completion string rendering 6632: Pin cargo_metadata r=matklad a=kjeremy See: https://github.com/oli-obk/cargo_metadata/pull/142#issuecomment-733653275 Co-authored-by: Kirill Bulatov <[email protected]> Co-authored-by: kjeremy <[email protected]>
| * Improve autoimports on completion speedKirill Bulatov2020-11-241-26/+28
| | | | | | | | | | * Ignore modules eaferly * Do less completion string rendering
* | Gate autoimports begind experimental completions flagKirill Bulatov2020-11-241-1/+3
|/
* Avoid turning completion objects into buildersKirill Bulatov2020-11-161-32/+10
|
* Remove query aliasesKirill Bulatov2020-11-161-1/+1
|
* Fix the other testKirill Bulatov2020-11-161-3/+3
|
* Qualify autoimport completion suggestionsKirill Bulatov2020-11-161-12/+23
|
* Better filter mod pathsKirill Bulatov2020-11-161-25/+27
|
* Move autoimport completion into the unqialified_path moduleKirill Bulatov2020-11-161-2/+139
|
* Reorganize completions structureIgor Aleksanov2020-10-251-0/+679