Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Better filter mod paths | Kirill Bulatov | 2020-11-16 | 1 | -1/+1 | |
| | | | ||||||
| * | | Use imports_locator | Kirill Bulatov | 2020-11-16 | 2 | -28/+34 | |
| | | | ||||||
| * | | Add imports in auto completion | Kirill Bulatov | 2020-11-16 | 5 | -12/+13 | |
| |/ | ||||||
* | | Use standard code style for test fixtures | Aleksey Kladov | 2020-11-17 | 1 | -270/+270 | |
| | | ||||||
* | | **Unwrap Block** supports stand-alone blocks | Aleksey Kladov | 2020-11-17 | 1 | -1/+68 | |
| | | ||||||
* | | Simplify | Aleksey Kladov | 2020-11-17 | 1 | -3/+1 | |
| | | ||||||
* | | Assist target should point at *existing* code | Aleksey Kladov | 2020-11-17 | 1 | -1/+1 | |
| | | ||||||
* | | Add **Ignore Test** assist | Aleksey Kladov | 2020-11-17 | 4 | -0/+74 | |
|/ | ||||||
* | add suggestion ..Default::default() for remaining struct fields in a ↵ | Benjamin Coenen | 2020-11-13 | 1 | -1/+1 | |
| | | | | | | constructor #6492 Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | add suggestion ..Default::default() for remaining struct fields in a ↵ | Benjamin Coenen | 2020-11-13 | 1 | -1/+11 | |
| | | | | | | constructor #6492 Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | Merge #6514 | bors[bot] | 2020-11-12 | 1 | -28/+92 | |
|\ | | | | | | | | | | | | | | | 6514: Fix extract_struct_from_enum_variant not updating record references r=Veykril a=Veykril Related to #6510 Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | Add extra test to extract_struct_from_enum_variant | Lukas Wirth | 2020-11-12 | 1 | -1/+28 | |
| | | ||||||
| * | Use Module::find_use_path_prefixed in extract_struct_from_enum_variant assist | Lukas Wirth | 2020-11-12 | 1 | -5/+9 | |
| | | ||||||
| * | Fix extract_struct_from_enum_variant not updating record references | Lukas Wirth | 2020-11-12 | 1 | -26/+59 | |
| | | ||||||
* | | Merge #6513 | bors[bot] | 2020-11-12 | 1 | -1/+82 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 6513: Support qualified function calls in remove_unused_param r=Veykril a=Veykril Also adds a test to check that it removes unused params across files. Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | Support qualified function calls in remove_unused_param | Lukas Wirth | 2020-11-12 | 1 | -1/+49 | |
| | | | ||||||
| * | | Add multiple file edit tes to remove_unused_param assist | Lukas Wirth | 2020-11-09 | 1 | -0/+33 | |
| |/ | ||||||
* | | Remove the fixme | Kirill Bulatov | 2020-11-12 | 1 | -36/+15 | |
| | | ||||||
* | | Add a FIXME for non-unified inner attributes | Kirill Bulatov | 2020-11-12 | 1 | -2/+7 | |
| | | ||||||
* | | Do not insert imports before inner comments | Kirill Bulatov | 2020-11-12 | 1 | -18/+92 | |
|/ | ||||||
* | Fix panic when extracting struct | Aleksey Kladov | 2020-11-09 | 2 | -3/+34 | |
| | ||||||
* | Support multi-file assist tests | Aleksey Kladov | 2020-11-09 | 2 | -6/+56 | |
| | ||||||
* | Merge #6506 | bors[bot] | 2020-11-09 | 5 | -1172/+1256 | |
|\ | | | | | | | | | | | | | | | | | 6506: Cleanup assists r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Use standard style for test code | Aleksey Kladov | 2020-11-09 | 1 | -568/+635 | |
| | | ||||||
| * | More consistent naming | Aleksey Kladov | 2020-11-09 | 3 | -81/+81 | |
| | | ||||||
| * | More consistent naming | Aleksey Kladov | 2020-11-09 | 3 | -66/+83 | |
| | | ||||||
* | | Merge #6465 | bors[bot] | 2020-11-09 | 1 | -9/+16 | |
|\ \ | |/ |/| | | | | | | | | | | | 6465: Support multiple file edits in AssistBuilder r=matklad a=Veykril Fixes #6459 Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | Support multiple file edits in AssistBuilder | Lukas Wirth | 2020-11-04 | 1 | -9/+16 | |
| | | ||||||
* | | Merge #6501 | bors[bot] | 2020-11-09 | 3 | -35/+51 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 6501: Remove text_edit_builder api from AssistBuilder r=matklad a=Veykril Also fixes a small bug in `expand_glob_import` in regards to the very nice looking `something::{*}` import when only one item was used. Before it would duplicate the path and just append it, causing the following wrong import `something::something::UsedItem`. Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | Remove text_edit_builder api from AssistBuilder | Lukas Wirth | 2020-11-08 | 3 | -35/+51 | |
| | | | ||||||
* | | | Merge #6476 | bors[bot] | 2020-11-07 | 3 | -110/+235 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6476: Add missing AssocItems in add_custom_impl assist r=matklad a=Veykril ```rust use std::fmt; #[derive(Debu<|>g)] struct Foo { bar: String, } ``` -> ```rust use std::fmt; struct Foo { bar: String, } impl fmt::Debug for Foo { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { ${0:todo!()} } } ``` Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | | Add missing AssocItems in add_custom_impl assist | Lukas Wirth | 2020-11-05 | 3 | -110/+235 | |
| | | | | ||||||
* | | | | Minimize convert_integer_literal tests | m-ysk | 2020-11-07 | 1 | -368/+2 | |
| |/ / |/| | | ||||||
* | | | Cleanup API | Aleksey Kladov | 2020-11-06 | 1 | -1/+5 | |
| | | | ||||||
* | | | Merge #6485 | bors[bot] | 2020-11-06 | 13 | -31/+38 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6485: Remove RAW literals r=matklad a=matklad bors r+ 🤖 closes https://github.com/rust-analyzer/rust-analyzer/issues/6308 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | Simplify | Aleksey Kladov | 2020-11-06 | 2 | -9/+2 | |
| | | | | ||||||
| * | | | Kill RAW_ literals | Aleksey Kladov | 2020-11-06 | 13 | -23/+37 | |
| | | | | | | | | | | | | | | | | | | | | Syntactically, they are indistinguishable from non-raw versions, so it doesn't make sense to separate then *at the syntax* level. | |||||
* | | | | Merge #6477 | bors[bot] | 2020-11-06 | 3 | -0/+352 | |
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | 6477: Add infer_function_return_type assist r=matklad a=Veykril This adds an assist to insert a functions return type if it hasn't been specified yet by inferring it from the functions tail expression. This assist only becomes active if the cursor is on the tail expression. See https://github.com/rust-analyzer/rust-analyzer/issues/6303#issuecomment-714657326 Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | | Adjust test-texts in infer_function_return_type | Lukas Wirth | 2020-11-06 | 1 | -78/+78 | |
| | | | | ||||||
| * | | | Enable infer_function_return_type in return-type position | Lukas Wirth | 2020-11-06 | 1 | -29/+129 | |
| | | | | ||||||
| * | | | Wrap non-block expressions in closures with a block | Lukas Wirth | 2020-11-06 | 1 | -12/+31 | |
| | | | | ||||||
| * | | | Ignore unit expressions in infer_function_return_type assist | Lukas Wirth | 2020-11-06 | 1 | -3/+13 | |
| | | | | ||||||
| * | | | Support closures in infer_function_return_type assist | Lukas Wirth | 2020-11-06 | 1 | -19/+114 | |
| | | | | ||||||
| * | | | Add infer_function_return_type assist | Lukas Wirth | 2020-11-06 | 3 | -0/+128 | |
| |/ / | ||||||
* | | | Merge #6480 | bors[bot] | 2020-11-06 | 1 | -14/+107 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6480: Support closure in change_return_type_to_result assist r=Veykril a=Veykril Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | | Support closure in change_return_type_to_result assist | Lukas Wirth | 2020-11-06 | 1 | -14/+107 | |
| |/ / | ||||||
* | | | More orthogonal API | Aleksey Kladov | 2020-11-06 | 1 | -15/+8 | |
| | | | ||||||
* | | | Move int parsing to IntNumber token | Aleksey Kladov | 2020-11-06 | 1 | -1/+1 | |
|/ / | ||||||
* | | Merge #6456 | bors[bot] | 2020-11-04 | 1 | -38/+110 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6456: Support record variants in extract_struct_from_enum_variant r=matklad a=Veykril As requested :) This also prevents the assist from being disabled if a definition in the value namespace exists with the same name as our new struct since that won't cause a collision #4468 Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | Support struct variants in extract_struct_from_enum_variant | Lukas Wirth | 2020-11-03 | 1 | -46/+74 | |
| | | |