aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove some redundant allocationsJeremy Kolb2020-12-122-2/+2
|
* Use natural trait ordering in derive completionAleksey Kladov2020-12-111-17/+18
| | | | | | | | derive(Clone, Copy) reads better than derive(Copy, Clone). However, we preserve the reverse ordering in the lookup text for sorting purposes. That way, it's convenient to type just `Ord` to derive everything.
* Remove debug printAleksey Kladov2020-12-101-7/+5
|
* Minor, more orthogonal codeAleksey Kladov2020-12-104-16/+12
| | | | It's better to accept things as arguments rather than store them.
* Normalize spelling to American EnglishAleksey Kladov2020-12-104-12/+12
|
* Tweak the search query params for better lookup speedKirill Bulatov2020-12-081-31/+29
|
* Better config nameKirill Bulatov2020-12-083-10/+9
|
* Disable the completion for no corresponding client resolve capabilitiesKirill Bulatov2020-12-079-145/+79
|
* Document the featureKirill Bulatov2020-12-071-0/+43
|
* SimplifyKirill Bulatov2020-12-071-2/+4
|
* Less panic, more testsKirill Bulatov2020-12-072-9/+60
|
* Fix the profiling labelKirill Bulatov2020-12-071-1/+1
|
* Use stateless completion resolveKirill Bulatov2020-12-074-15/+40
|
* Remove the stateKirill Bulatov2020-12-072-31/+4
|
* Make completion resolve asyncKirill Bulatov2020-12-072-3/+31
|
* Simplify import edit calculationKirill Bulatov2020-12-077-50/+65
|
* Remove redundant codeKirill Bulatov2020-12-075-27/+15
|
* Refactor the codeKirill Bulatov2020-12-077-9/+29
|
* Add eager resolve capabilityKirill Bulatov2020-12-077-11/+41
|
* Better support client completion resolve capsKirill Bulatov2020-12-072-0/+2
|
* Properly fill client completion resolve capabilities dataKirill Bulatov2020-12-072-1/+11
|
* Working resolve completion imports prototypeKirill Bulatov2020-12-072-6/+10
|
* Draft the new lsp handlerKirill Bulatov2020-12-071-23/+11
|
* 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
|