Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a slightly better fuzzy search heuristics | Kirill Bulatov | 2020-12-19 | 1 | -10/+62 |
| | |||||
* | Merge #6901 | bors[bot] | 2020-12-18 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | | | | | 6901: Temp fixes panic caused by no ast for proc-macro r=maklad a=edwin0cheng There are some panic when hover/goto definition for proc-macro. It is because in current design, we don't have `ast-node` for proc-macro and then it trigger [this](https://github.com/rust-analyzer/rust-analyzer/blob/479d1f7eec22c3564867223e2093f14774092528/crates/hir/src/has_source.rs#L116) line to panic. This PR is a temp fix for all of these similar to https://github.com/rust-analyzer/rust-analyzer/blob/bd4c352831662762ee7a66da77ec9adf623b0a0a/crates/completion/src/render/macro_.rs#L42 Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Temp fixes panic caused by no ast for proc-macro | Edwin Cheng | 2020-12-18 | 1 | -0/+1 |
| | | |||||
* | | Show first fuzzy completions fully containing the input | Kirill Bulatov | 2020-12-17 | 1 | -5/+14 |
|/ | |||||
* | Move to upstream `macro_rules!` model | Jonas Schievink | 2020-12-15 | 1 | -3/+3 |
| | |||||
* | Remove some redundant allocations | Jeremy Kolb | 2020-12-12 | 2 | -2/+2 |
| | |||||
* | 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 | 4 | -16/+12 |
| | | | | It's better to accept things as arguments rather than store them. | ||||
* | Normalize spelling to American English | Aleksey Kladov | 2020-12-10 | 4 | -12/+12 |
| | |||||
* | 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 | 3 | -10/+9 |
| | |||||
* | Disable the completion for no corresponding client resolve capabilities | Kirill Bulatov | 2020-12-07 | 9 | -145/+79 |
| | |||||
* | Document the feature | Kirill Bulatov | 2020-12-07 | 1 | -0/+43 |
| | |||||
* | Simplify | Kirill Bulatov | 2020-12-07 | 1 | -2/+4 |
| | |||||
* | Less panic, more tests | Kirill Bulatov | 2020-12-07 | 2 | -9/+60 |
| | |||||
* | Fix the profiling label | Kirill Bulatov | 2020-12-07 | 1 | -1/+1 |
| | |||||
* | Use stateless completion resolve | Kirill Bulatov | 2020-12-07 | 4 | -15/+40 |
| | |||||
* | Remove the state | Kirill Bulatov | 2020-12-07 | 2 | -31/+4 |
| | |||||
* | Make completion resolve async | Kirill Bulatov | 2020-12-07 | 2 | -3/+31 |
| | |||||
* | Simplify import edit calculation | Kirill Bulatov | 2020-12-07 | 7 | -50/+65 |
| | |||||
* | Remove redundant code | Kirill Bulatov | 2020-12-07 | 5 | -27/+15 |
| | |||||
* | Refactor the code | Kirill Bulatov | 2020-12-07 | 7 | -9/+29 |
| | |||||
* | Add eager resolve capability | Kirill Bulatov | 2020-12-07 | 7 | -11/+41 |
| | |||||
* | Better support client completion resolve caps | Kirill Bulatov | 2020-12-07 | 2 | -0/+2 |
| | |||||
* | Properly fill client completion resolve capabilities data | Kirill Bulatov | 2020-12-07 | 2 | -1/+11 |
| | |||||
* | Working resolve completion imports prototype | Kirill Bulatov | 2020-12-07 | 2 | -6/+10 |
| | |||||
* | Draft the new lsp handler | Kirill Bulatov | 2020-12-07 | 1 | -23/+11 |
| | |||||
* | 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 | 3 | -31/+63 |
| | |||||
* | Fix typo | Aleksey Kladov | 2020-12-01 | 1 | -2/+2 |
| | |||||
* | Type-safer API for dealing with parameter lists with optional self | Aleksey Kladov | 2020-12-01 | 2 | -7/+11 |
| | |||||
* | Merge #6601 | bors[bot] | 2020-11-29 | 2 | -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 variables | Benjamin Coenen | 2020-11-28 | 2 | -11/+56 |
| | | | | | | | | 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 | 6 | -7/+6 |
| | | |||||
* | | Group import data in a struct | Kirill Bulatov | 2020-11-27 | 5 | -52/+49 |
| | | |||||
* | | Extract the import code into the shared module | Kirill Bulatov | 2020-11-27 | 9 | -11/+15 |
| | | |||||
* | | Profile completions better | Kirill Bulatov | 2020-11-27 | 4 | -0/+5 |
| | | |||||
* | | Merge #6635 | bors[bot] | 2020-11-26 | 2 | -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 let | Lukas Wirth | 2020-11-26 | 2 | -14/+46 |
| |/ | |||||
* | | Merge #6614 #6632 | bors[bot] | 2020-11-26 | 2 | -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 speed | Kirill Bulatov | 2020-11-24 | 2 | -26/+29 |
| |/ | | | | | | | | | * Ignore modules eaferly * Do less completion string rendering | ||||
* | | Document experimental completions | Kirill Bulatov | 2020-11-24 | 1 | -0/+7 |
| | | |||||
* | | Gate autoimports begind experimental completions flag | Kirill Bulatov | 2020-11-24 | 2 | -1/+5 |
|/ | |||||
* | Avoid turning completion objects into builders | Kirill Bulatov | 2020-11-16 | 7 | -79/+116 |
| | |||||
* | Remove query aliases | Kirill Bulatov | 2020-11-16 | 1 | -1/+1 |
| | |||||
* | Fix the other test | Kirill Bulatov | 2020-11-16 | 2 | -3/+25 |
| | |||||
* | Qualify autoimport completion suggestions | Kirill Bulatov | 2020-11-16 | 2 | -16/+43 |
| |