Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Assist: replace anonymous lifetime with a named one | Jess Balint | 2020-05-22 | 2 | -0/+125 | |
| | | | | (fixes #4523) | |||||
* | Use WorkspaceEdit for ssr | Aleksey Kladov | 2020-05-21 | 3 | -4/+5 | |
| | ||||||
* | Formalize JoinLines protocol extension | Aleksey Kladov | 2020-05-21 | 6 | -34/+60 | |
| | ||||||
* | Cleanup | Aleksey Kladov | 2020-05-21 | 3 | -34/+18 | |
| | ||||||
* | Cleanup TextEdit | Aleksey Kladov | 2020-05-21 | 5 | -18/+21 | |
| | ||||||
* | Remove dead code for handling cursor positions | Aleksey Kladov | 2020-05-21 | 8 | -388/+12 | |
| | ||||||
* | Transition OnEnter to WorkspaceSnippetEdit | Aleksey Kladov | 2020-05-21 | 4 | -59/+44 | |
| | | | | | | | | This also changes our handiling of snippet edits on the client side. `editor.insertSnippet` unfortunately forces indentation, which we really don't want to have to deal with. So, let's just implement our manual hacky way of dealing with a simple subset of snippets we actually use in rust-analyzer | |||||
* | Remove unused cursor positions | Aleksey Kladov | 2020-05-21 | 3 | -8/+3 | |
| | ||||||
* | Merge #4506 | bors[bot] | 2020-05-21 | 2 | -4/+7 | |
|\ | | | | | | | | | | | | | | | | | | | 4506: Make `find_path_inner` a query r=matklad a=jonas-schievink This eliminates the remaining performance problems in the "Implement default members" assist (at least those that I've found). Closes https://github.com/rust-analyzer/rust-analyzer/issues/4498 Co-authored-by: Jonas Schievink <[email protected]> | |||||
| * | Make `find_path_inner` a query | Jonas Schievink | 2020-05-20 | 2 | -4/+7 | |
| | | | | | | | | | | This eliminates any remaining performance problems in the "Implement default members" assist (at least that I've found). | |||||
* | | Remove unused cursor positions | Aleksey Kladov | 2020-05-20 | 1 | -13/+7 | |
| | | ||||||
* | | Remove set_cursor | Aleksey Kladov | 2020-05-20 | 2 | -31/+13 | |
| | | ||||||
* | | Snippetify unwrap -> match | Aleksey Kladov | 2020-05-20 | 2 | -13/+30 | |
| | | ||||||
* | | More snippets | Aleksey Kladov | 2020-05-20 | 3 | -23/+17 | |
|/ | ||||||
* | Merge #4540 | bors[bot] | 2020-05-20 | 9 | -171/+132 | |
|\ | | | | | | | | | | | | | | | | | 4540: More snippets r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | More snippets | Aleksey Kladov | 2020-05-20 | 6 | -97/+45 | |
| | | ||||||
| * | Snippetify introduce/inline var | Aleksey Kladov | 2020-05-20 | 3 | -74/+87 | |
| | | ||||||
* | | Merge #4526 | bors[bot] | 2020-05-20 | 1 | -2/+2 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | 4526: Use a flat play icon instead of the blue emoji with test code lens r=kjeremy a=aloucks @lnicola Restores this commit: https://github.com/rust-analyzer/rust-analyzer/commit/55e914a2a179aba63bd9948d6e0cf3e2a4bf5960 That was effectively wiped out by this code formatting commit: https://github.com/rust-analyzer/rust-analyzer/commit/dc217bdf90d555eaa1780041fc3a14e64173994d https://github.com/rust-analyzer/rust-analyzer/commit/3d445256fe56f4a7ead64514fb57b79079973d84 Co-authored-by: Aaron Loucks <[email protected]> | |||||
| * | Use a flat play icon instead of the blue emoji with test code lens | Aaron Loucks | 2020-05-20 | 1 | -2/+2 | |
| | | ||||||
* | | Relax cursor position tests in assists | Aleksey Kladov | 2020-05-20 | 14 | -117/+96 | |
| | | | | | | | | Those will be replaced with snippets anyway | |||||
* | | Snippetify fix_visibility | Aleksey Kladov | 2020-05-20 | 2 | -31/+35 | |
| | | ||||||
* | | Snippetify fill_match_arms | Aleksey Kladov | 2020-05-20 | 2 | -117/+78 | |
| | | ||||||
* | | Don't set cursor in change_visibility | Aleksey Kladov | 2020-05-20 | 1 | -6/+3 | |
| | | ||||||
* | | Cleanup imports | Aleksey Kladov | 2020-05-20 | 1 | -4/+6 | |
| | | ||||||
* | | Split change_ and fix_ visibility assists | Aleksey Kladov | 2020-05-20 | 4 | -506/+581 | |
| | | ||||||
* | | Switch to new magic marks | Aleksey Kladov | 2020-05-20 | 42 | -298/+152 | |
| | | ||||||
* | | Remove cross-crate marks | Aleksey Kladov | 2020-05-20 | 7 | -45/+4 | |
| | | | | | | | | | | They create quite a bit of friction. Really, we should just move the tests to the same crate, rather than paper over existing split. | |||||
* | | Significantly more glorious marks | Aleksey Kladov | 2020-05-20 | 4 | -8/+86 | |
| | | ||||||
* | | Merge #4530 | bors[bot] | 2020-05-20 | 6 | -90/+83 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4530: Use snippets in change_return_type_to_result r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Use snippets in change_return_type_to_result | Aleksey Kladov | 2020-05-20 | 2 | -47/+36 | |
| | | | ||||||
| * | | wip | Aleksey Kladov | 2020-05-20 | 1 | -4/+8 | |
| | | | ||||||
| * | | Cleanup | Aleksey Kladov | 2020-05-20 | 1 | -12/+10 | |
| | | | ||||||
| * | | Minor | Aleksey Kladov | 2020-05-20 | 1 | -2/+1 | |
| | | | ||||||
| * | | Minor | Aleksey Kladov | 2020-05-20 | 3 | -5/+10 | |
| | | | ||||||
| * | | Snippetify add_new | Aleksey Kladov | 2020-05-20 | 2 | -30/+28 | |
| | | | ||||||
* | | | Fix Some|None order in fill_match_arms | Aleksey Kladov | 2020-05-20 | 3 | -11/+69 | |
|/ / | ||||||
* | | Merge #4505 | bors[bot] | 2020-05-20 | 4 | -30/+106 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | 4505: Infer return type of loops with value breaks r=flodiebold a=ruabmbua Creates a type variable to represent the return value of the loop. Uses `coerce_merge_branch` on each break with the previous value, to determine the actual return value of the loop. Resolves: https://github.com/rust-analyzer/rust-analyzer/issues/4492 , https://github.com/rust-analyzer/rust-analyzer/issues/4512 Co-authored-by: Roland Ruckerbauer <[email protected]> | |||||
| * | Apply suggestion of @flodiebold: Get rid of multiple unwraps | Roland Ruckerbauer | 2020-05-19 | 1 | -12/+10 | |
| | | ||||||
| * | loop return value inference: add tests | Roland Ruckerbauer | 2020-05-19 | 1 | -0/+63 | |
| | | ||||||
| * | Move false negative expr_diverges_missing_arm() to working tests | Roland Ruckerbauer | 2020-05-19 | 1 | -21/+18 | |
| | | ||||||
| * | loop return value inference: coerce_merge branches | Roland Ruckerbauer | 2020-05-19 | 1 | -15/+23 | |
| | | ||||||
| * | Infer return type of loops with value breaks. | Roland Ruckerbauer | 2020-05-18 | 2 | -6/+16 | |
| | | ||||||
* | | Merge #4525 | bors[bot] | 2020-05-20 | 2 | -40/+48 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4525: Better cursor placement when adding impl members r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Better cursor placement when adding impl members | Aleksey Kladov | 2020-05-20 | 2 | -40/+48 | |
| | | | ||||||
* | | | Merge #4524 | bors[bot] | 2020-05-20 | 5 | -43/+82 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4524: Use snippets in add_missing_members r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Use snippets in add_missing_members | Aleksey Kladov | 2020-05-20 | 5 | -43/+82 | |
| | | | ||||||
| | | | ||||||
| \ \ | ||||||
*-. \ \ | Merge #4521 #4522 | bors[bot] | 2020-05-20 | 11 | -106/+204 | |
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4521: Use snippets in add_function r=matklad a=matklad bors r+ 🤖 4522: Explain the purpose of `ast::make` module more clearly r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| | * | | Explain the purpose of `ast::make` module more clearly | Aleksey Kladov | 2020-05-20 | 2 | -5/+8 | |
| |/ / |/| | | ||||||
| * | | Moderate cleanup of add_function | Aleksey Kladov | 2020-05-20 | 5 | -65/+128 | |
| | | | ||||||
| * | | Use snippets in add function | Aleksey Kladov | 2020-05-20 | 4 | -39/+74 | |
| | | |