aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src/completions/unqualified_path.rs
Commit message (Collapse)AuthorAgeFilesLines
* Show qualified variant pattern completionsLukas Wirth2021-02-091-42/+4
|
* Show Self pattern completions for Adts if inside implsLukas Wirth2021-02-091-1/+1
|
* Show completions for enum variant with self prefix if inside implLukas Wirth2021-02-091-1/+35
|
* Make `ModPath`'s representation privateJonas Schievink2021-02-041-1/+1
|
* More useful fn detail in completionAleksey Kladov2021-01-221-25/+25
| | | | | | | | | | | | | Detail should be rendered as shtort one line, just dumping fn header there is not useful, despite the fact that TS does this. The fact that this is a function should be indicated by the icon, the same goes for pub/const/async etc qualitfiers name is already present in the lable (and arg list should be a part of that, as in idea) But the return type is the small genuinerlly useful bit of info we can show here
* Update completions test outputLukas Wirth2021-01-201-18/+18
|
* Add LifetimeParam and ConstParam to CompletionItemKindLukas Wirth2021-01-191-1/+1
|
* Show const params in completionsLukas Wirth2021-01-191-1/+23
|
* Share import_assets and related entitiesKirill Bulatov2021-01-161-248/+3
|
* 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