aboutsummaryrefslogtreecommitdiff
path: root/crates/completion
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge #6635bors[bot]2020-11-262-14/+46
|\ \ | | | | | | | | | | | | | | | | | | | | | 6635: Complete struct in irrefutable let r=Veykril a=Veykril Fixes #6210 Co-authored-by: Lukas Wirth <[email protected]>
| * | Complete struct in irrefutable letLukas Wirth2020-11-262-14/+46
| |/
* | Merge #6614 #6632bors[bot]2020-11-262-26/+29
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-242-26/+29
| |/ | | | | | | | | * Ignore modules eaferly * Do less completion string rendering
* | Document experimental completionsKirill Bulatov2020-11-241-0/+7
| |
* | Gate autoimports begind experimental completions flagKirill Bulatov2020-11-242-1/+5
|/
* Avoid turning completion objects into buildersKirill Bulatov2020-11-167-79/+116
|
* Remove query aliasesKirill Bulatov2020-11-161-1/+1
|
* Fix the other testKirill Bulatov2020-11-162-3/+25
|
* Qualify autoimport completion suggestionsKirill Bulatov2020-11-162-16/+43
|
* Better filter mod pathsKirill Bulatov2020-11-161-25/+27
|
* Move autoimport completion into the unqialified_path moduleKirill Bulatov2020-11-165-156/+139
|
* Omit modules during autocompletionKirill Bulatov2020-11-161-13/+13
|
* Tweak the search limits a bitKirill Bulatov2020-11-161-1/+3
|
* Reuse existing element renderingKirill Bulatov2020-11-163-88/+70
|
* Use imports_locatorKirill Bulatov2020-11-162-39/+37
|
* Rename the moduleKirill Bulatov2020-11-162-6/+2
|
* Allow to configure the merge behaviorKirill Bulatov2020-11-162-5/+6
|
* Add braces to functions and macrosKirill Bulatov2020-11-162-39/+99
|
* Tidy up the testsKirill Bulatov2020-11-161-49/+15
|
* Use rewriter api to add both changesKirill Bulatov2020-11-161-11/+51
|
* Add imports in auto completionKirill Bulatov2020-11-165-0/+119
|
* Don't complete keywords in struct literalsLukas Wirth2020-11-161-0/+46
|
* add suggestion ..Default::default() for remaining struct fields in a ↵Benjamin Coenen2020-11-132-3/+106
| | | | | | constructor #6492 Signed-off-by: Benjamin Coenen <[email protected]>
* Add some postfix snippetPavan Kumar Sunkara2020-11-081-0/+12
|
* Remove intra-crate facade from completionsIgor Aleksanov2020-11-032-10/+16
|
* Get rid of do-er antipatternIgor Aleksanov2020-11-037-45/+100
|
* Provide only explicit constructor for RenderContextIgor Aleksanov2020-11-032-16/+14
|
* Add doc-comments to the new filesIgor Aleksanov2020-11-036-1/+17
|
* Make structures order more logical in render.rsIgor Aleksanov2020-11-031-5/+5
|
* Move rendering tests to the render moduleIgor Aleksanov2020-11-036-1095/+1163
|
* Add TypeAliasRenderIgor Aleksanov2020-11-034-19/+54
|
* Add ConstRenderIgor Aleksanov2020-11-035-28/+65
|
* Introduce render moduleIgor Aleksanov2020-11-037-246/+457
|
* Remove more unreachable pubsAleksey Kladov2020-11-021-3/+3
|
* Reduce visibility of some methodsIgor Aleksanov2020-10-262-3/+3
|
* Add a module doc-comment for completions moduleIgor Aleksanov2020-10-251-0/+2
|
* Remove presentation moduleIgor Aleksanov2020-10-253-1421/+1409
|
* Move Completions structure definition into completions moduleIgor Aleksanov2020-10-259-74/+74
|
* Reorganize completions structureIgor Aleksanov2020-10-2522-108/+98
|
* Re-export base_db from ide_dbIgor Aleksanov2020-10-244-4/+4
|
* Make call_info a part of ide_dbIgor Aleksanov2020-10-242-3/+1
|
* Remove dependency on 'assists' from 'completion' crateIgor Aleksanov2020-10-243-3/+2
|
* Complete variants when only enun name is typedAleksey Kladov2020-10-231-8/+62
| | | | | This allows the client to filter `Foo::Bar` when *either* `Foo` or `Bar` is typed.
* Insert ref for completionsadamrk2020-10-223-19/+66
|
* add completions for clippy lint in attributesBenjamin Coenen2020-10-204-132/+10
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Try to fix publishingAleksey Kladov2020-10-191-1/+1
| | | | | | | | | | | | This errro specifically: Updating crates.io index error: failed to select a version for the requirement `ra_ap_stdx = "^0.0.0"` candidate versions found which didn't match: 0.0.20 location searched: /home/runner/work/rust-analyzer/rust-analyzer/crates/stdx required by package `ra_ap_completion v0.0.20 (/home/runner/work/rust-analyzer/rust-analyzer/crates/completion)` error: unable to update Cargo.lock Error: Process completed with exit code 1.
* Extract call_info and completion into separate cratesIgor Aleksanov2020-10-1823-0/+8442