aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src
Commit message (Collapse)AuthorAgeFilesLines
* Update attributes completion listLukas Wirth2020-12-061-3/+39
|
* Trigger .let postfix snippet in the middle of the blockAleksey Kladov2020-12-011-4/+31
|
* Place cursor correctly when completing assoc fns with selfAleksey Kladov2020-12-013-31/+63
|
* Fix typoAleksey Kladov2020-12-011-2/+2
|
* Type-safer API for dealing with parameter lists with optional selfAleksey Kladov2020-12-012-7/+11
|
* Merge #6601bors[bot]2020-11-292-0/+61
|\ | | | | | | | | | | | | | | 6601: add let and letm postfix to turn expressions into variables r=matklad a=bnjjj Partially resolve #6426 Co-authored-by: Benjamin Coenen <[email protected]>
| * add let and letm postfix to turn expressions into variablesBenjamin Coenen2020-11-282-11/+56
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
| * add let and letm postfix to turn expressions into variablesBenjamin Coenen2020-11-211-0/+16
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | Move the helpers into ide_dbKirill Bulatov2020-11-285-6/+6
| |
* | Group import data in a structKirill Bulatov2020-11-275-52/+49
| |
* | Extract the import code into the shared moduleKirill Bulatov2020-11-278-10/+14
| |
* | Profile completions betterKirill Bulatov2020-11-274-0/+5
| |
* | 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-164-155/+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-164-0/+117
|
* 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-131-3/+105
| | | | | | 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
|