Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Remove some unneeded string allocations | Lukas Wirth | 2020-12-31 | 1 | -1/+1 | |
|/ | ||||||
* | Avoid a couple of allocations | Laurențiu Nicola | 2020-12-29 | 1 | -2/+2 | |
| | ||||||
* | Merge #7064 | bors[bot] | 2020-12-29 | 1 | -3/+8 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7064: Ignore qualifiers when doing autoimport completions lookup r=lnicola a=SomeoneToIgnore A follow-up of https://github.com/rust-analyzer/rust-analyzer/pull/6918#issuecomment-748511151 and the PR itself. Tweaks the `import_map` query api to be more flexible with the ways to match against the import path and now fuzzy imports search in names only. This had improved the completion speed for me locally in ~5 times for `fuzzy_completion` span time, but please recheck me here. IMO we're fast and presice enough now, so I've added the modules back to the fuzzy search output. Also tweaks the the expect tests to display functions explicitly, to avoid confusing "duplicate" results. Co-authored-by: Kirill Bulatov <[email protected]> | |||||
| * | Tweak the fuzzy search limits | Kirill Bulatov | 2020-12-28 | 1 | -1/+6 | |
| | | ||||||
| * | Add docs and optimisations | Kirill Bulatov | 2020-12-28 | 1 | -2/+2 | |
| | | ||||||
| * | Better query api and fuzzy search | Kirill Bulatov | 2020-12-28 | 1 | -1/+1 | |
| | | ||||||
| * | Draft the module exclusion in modules | Kirill Bulatov | 2020-12-28 | 1 | -1/+1 | |
| | | ||||||
* | | Merge #7076 | bors[bot] | 2020-12-29 | 1 | -1/+10 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 7076: Properly parse path separators in format-like postfix r=Veykril a=Veykril Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | Properly parse path separators in format-like postfix | Lukas Wirth | 2020-12-29 | 1 | -1/+10 | |
| |/ | ||||||
* / | format-postfix completion takes format instead of fmt | Lukas Wirth | 2020-12-29 | 2 | -2/+2 | |
|/ | ||||||
* | Merge #6960 | bors[bot] | 2020-12-23 | 2 | -1/+55 | |
|\ | | | | | | | | | | | | | | | | | 6960: Show enum variant on Self qualified paths r=matklad a=Veykril Fixes first part of #6549 Fixes #6550 Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | Show enum variant completions for ref scrutinee | Lukas Wirth | 2020-12-20 | 1 | -1/+26 | |
| | | ||||||
| * | Show enum variant on Self qualified paths | Lukas Wirth | 2020-12-20 | 1 | -0/+29 | |
| | | ||||||
* | | Reduce some more code duplication | Lukas Wirth | 2020-12-22 | 1 | -9/+29 | |
| | | ||||||
* | | Insert snippet positions after fields names in record patterns | Lukas Wirth | 2020-12-21 | 1 | -5/+5 | |
| | | ||||||
* | | Emit snippets for struct pattern completion if enabled | Lukas Wirth | 2020-12-20 | 1 | -5/+5 | |
| | | ||||||
* | | Add completions for patterns | Lukas Wirth | 2020-12-20 | 1 | -15/+139 | |
|/ | ||||||
* | Align code_model name with ungrammar | Aleksey Kladov | 2020-12-20 | 1 | -1/+1 | |
| | ||||||
* | Fewer allocations | Kirill Bulatov | 2020-12-19 | 1 | -5/+7 | |
| | ||||||
* | Tidy up | Kirill Bulatov | 2020-12-19 | 2 | -32/+26 | |
| | ||||||
* | Keep the original completion order in tests | Kirill Bulatov | 2020-12-19 | 11 | -192/+192 | |
| | ||||||
* | Add a slightly better fuzzy search heuristics | Kirill Bulatov | 2020-12-19 | 1 | -10/+62 | |
| | ||||||
* | Show first fuzzy completions fully containing the input | Kirill Bulatov | 2020-12-17 | 1 | -5/+14 | |
| | ||||||
* | Remove some redundant allocations | Jeremy Kolb | 2020-12-12 | 1 | -1/+1 | |
| | ||||||
* | Use natural trait ordering in derive completion | Aleksey Kladov | 2020-12-11 | 1 | -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 print | Aleksey Kladov | 2020-12-10 | 1 | -7/+5 | |
| | ||||||
* | Minor, more orthogonal code | Aleksey Kladov | 2020-12-10 | 1 | -9/+7 | |
| | | | | It's better to accept things as arguments rather than store them. | |||||
* | Normalize spelling to American English | Aleksey Kladov | 2020-12-10 | 1 | -5/+5 | |
| | ||||||
* | Tweak the search query params for better lookup speed | Kirill Bulatov | 2020-12-08 | 1 | -31/+29 | |
| | ||||||
* | Better config name | Kirill Bulatov | 2020-12-08 | 1 | -2/+4 | |
| | ||||||
* | Disable the completion for no corresponding client resolve capabilities | Kirill Bulatov | 2020-12-07 | 1 | -76/+58 | |
| | ||||||
* | Document the feature | Kirill Bulatov | 2020-12-07 | 1 | -0/+43 | |
| | ||||||
* | Less panic, more tests | Kirill Bulatov | 2020-12-07 | 1 | -2/+39 | |
| | ||||||
* | Use stateless completion resolve | Kirill Bulatov | 2020-12-07 | 1 | -4/+6 | |
| | ||||||
* | Update attributes completion list | Lukas Wirth | 2020-12-06 | 1 | -3/+39 | |
| | ||||||
* | Trigger .let postfix snippet in the middle of the block | Aleksey Kladov | 2020-12-01 | 1 | -4/+31 | |
| | ||||||
* | Place cursor correctly when completing assoc fns with self | Aleksey Kladov | 2020-12-01 | 1 | -20/+20 | |
| | ||||||
* | Type-safer API for dealing with parameter lists with optional self | Aleksey Kladov | 2020-12-01 | 1 | -1/+1 | |
| | ||||||
* | Merge #6601 | bors[bot] | 2020-11-29 | 1 | -0/+59 | |
|\ | | | | | | | | | | | | | | | 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 variables | Benjamin Coenen | 2020-11-28 | 1 | -11/+54 | |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
| * | add let and letm postfix to turn expressions into variables | Benjamin Coenen | 2020-11-21 | 1 | -0/+16 | |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | | Move the helpers into ide_db | Kirill Bulatov | 2020-11-28 | 2 | -3/+3 | |
| | | ||||||
* | | Extract the import code into the shared module | Kirill Bulatov | 2020-11-27 | 2 | -3/+3 | |
| | | ||||||
* | | Merge #6635 | bors[bot] | 2020-11-26 | 1 | -14/+43 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 6635: Complete struct in irrefutable let r=Veykril a=Veykril Fixes #6210 Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | Complete struct in irrefutable let | Lukas Wirth | 2020-11-26 | 1 | -14/+43 | |
| |/ | ||||||
* | | Merge #6614 #6632 | bors[bot] | 2020-11-26 | 1 | -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 speed | Kirill Bulatov | 2020-11-24 | 1 | -26/+28 | |
| |/ | | | | | | | | | * Ignore modules eaferly * Do less completion string rendering | |||||
* / | Gate autoimports begind experimental completions flag | Kirill Bulatov | 2020-11-24 | 1 | -1/+3 | |
|/ | ||||||
* | Avoid turning completion objects into builders | Kirill Bulatov | 2020-11-16 | 1 | -32/+10 | |
| | ||||||
* | Remove query aliases | Kirill Bulatov | 2020-11-16 | 1 | -1/+1 | |
| |