Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #8210 | bors[bot] | 2021-03-31 | 4 | -1/+174 |
|\ | | | | | | | | | | | | | | | | | 8210: Implement "Extract type alias" assist r=jonas-schievink a=jonas-schievink Co-authored-by: Jonas Schievink <[email protected]> Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | Don't use snippets | Jonas Schievink | 2021-03-29 | 2 | -19/+14 |
| | | |||||
| * | Use `find_node_at_range` | Jonas Schievink | 2021-03-29 | 2 | -26/+7 |
| | | |||||
| * | Snippet support in extract_type_alias | Jonas Schievink | 2021-03-27 | 2 | -15/+26 |
| | | |||||
| * | Implement "Extract type alias" assist | Jonas Schievink | 2021-03-26 | 3 | -0/+186 |
| | | |||||
* | | Merge #8267 | bors[bot] | 2021-03-31 | 1 | -0/+2 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8267: Adding gifs and screenshots for features in manual r=matklad a=MozarellaMan For #6539 This includes most of gif or screenshot examples of most items in the "Features" header. With the exceptions of: - **On Typing Assists** - couldn't get it to work for a demo, I'm probably missing something? - **Structural search and replace** - looked to be already a visual example of the feature - **Workspace symbol** - wasn't sure how best to show this, all of the examples maybe? Also wasn't sure of the best code example to show it off - **Semantic Syntax Highlighting** - seemed obvious enough to not need a screenshot, but I could easily add this All the gifs/pngs are hosted in this [comment](https://github.com/rust-analyzer/rust-analyzer/issues/6539#issuecomment-809574840). Please let me know if any of them aren't suitable (and why) and I'll improve it! Or if you don't like the theme/font Co-authored-by: Ayomide Bamidele <[email protected]> | ||||
| * | | Gifs and screenshots for features in manual | Ayomide Bamidele | 2021-03-31 | 1 | -0/+2 |
| | | | |||||
* | | | Rename target_ty to self_ty | Lukas Wirth | 2021-03-29 | 3 | -4/+4 |
|/ / | |||||
* | | Merge #8213 | bors[bot] | 2021-03-27 | 2 | -5/+21 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 8213: Added support for const generics in impl generation r=Veykril a=ivan770 Closes #8211 Co-authored-by: ivan770 <[email protected]> | ||||
| * | | Added support for const generics in impl generation | ivan770 | 2021-03-27 | 2 | -5/+21 |
| |/ | |||||
* / | syntax: return owned string instead of leaking string | cynecx | 2021-03-26 | 5 | -7/+9 |
|/ | |||||
* | refine comment style of tests | hi-rustin | 2021-03-24 | 2 | -48/+48 |
| | |||||
* | Merge #8168 | bors[bot] | 2021-03-24 | 1 | -7/+70 |
|\ | | | | | | | | | | | | | | | 8168: correct `convert to guard return` let_stmt r=Veykril a=hi-rustin close https://github.com/rust-analyzer/rust-analyzer/issues/8074 Co-authored-by: hi-rustin <[email protected]> | ||||
| * | correct `convert to guard return` let_stmt | hi-rustin | 2021-03-24 | 1 | -7/+70 |
| | | | | | | | | | | | | | | | | fix fix add check | ||||
* | | Cleanup | Aleksey Kladov | 2021-03-23 | 1 | -67/+45 |
| | | |||||
* | | Simplify code | Aleksey Kladov | 2021-03-23 | 2 | -37/+15 |
| | | | | | | | | changelog: skip | ||||
* | | Use styleguide conforming import for ast nodes | Aleksey Kladov | 2021-03-23 | 1 | -34/+36 |
| | | |||||
* | | Unify test style | Aleksey Kladov | 2021-03-23 | 1 | -38/+52 |
| | | | | | | | | changelog skip | ||||
* | | Tweak assits API to fit mutable syntax trees | Aleksey Kladov | 2021-03-23 | 3 | -23/+53 |
|/ | | | | changelog: skip | ||||
* | rewrite merge use trees assist to use muatable syntax trees | Aleksey Kladov | 2021-03-22 | 2 | -37/+42 |
| | | | | changelog internal | ||||
* | clippy::complexity simplifications related to Iterators | Matthias Krüger | 2021-03-21 | 3 | -16/+10 |
| | |||||
* | Less reallocations | Kirill Bulatov | 2021-03-21 | 1 | -1/+0 |
| | |||||
* | Disable unqualified assoc items completion for now | Kirill Bulatov | 2021-03-20 | 1 | -0/+1 |
| | |||||
* | Docs | Kirill Bulatov | 2021-03-20 | 1 | -2/+2 |
| | |||||
* | Do not query item search by name eagerly | Kirill Bulatov | 2021-03-20 | 1 | -15/+20 |
| | |||||
* | Merge #8119 | bors[bot] | 2021-03-20 | 2 | -4/+3 |
|\ | | | | | | | | | | | | | | | 8119: Don't return a SourceChange on WillRenameFiles when nothing gets refactored r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Fix add_life_to_type label typo | Lukas Wirth | 2021-03-20 | 2 | -4/+3 |
| | | |||||
* | | simplify | Aleksey Kladov | 2021-03-19 | 1 | -3/+3 |
|/ | | | | changelog skip | ||||
* | Cleanup qualify_path | Lukas Wirth | 2021-03-19 | 1 | -27/+17 |
| | |||||
* | Fix associated items not being appended to paths in import_assets | Lukas Wirth | 2021-03-18 | 1 | -2/+35 |
| | |||||
* | use simpler .map(|x| y) instead of .and_then(|x| Some(y)) for Options. ↵ | Matthias Krüger | 2021-03-17 | 1 | -2/+2 |
| | | | | (clippy::bind_instead_of_map) | ||||
* | don't clone types that are copy (clippy::clone_on_copy) | Matthias Krüger | 2021-03-17 | 1 | -5/+2 |
| | |||||
* | Move more bounds | Aleksey Kladov | 2021-03-16 | 1 | -26/+10 |
| | | | | changelog: skip | ||||
* | Upgrade rowan | Aleksey Kladov | 2021-03-16 | 9 | -62/+34 |
| | | | | Notably, new rowan comes with support for mutable syntax trees. | ||||
* | 7709: Added the check for return type of len function. | Chetan Khilosiya | 2021-03-15 | 1 | -9/+26 |
| | |||||
* | 7709: Updated the implementation. | Chetan Khilosiya | 2021-03-15 | 2 | -37/+71 |
| | | | | | The get function from impl method is updated. and now same method used to get len and is_empty function. | ||||
* | 7709: Added the assist to generate is_empty function | Chetan Khilosiya | 2021-03-15 | 3 | -0/+252 |
| | | | | | the assist will be shown when the len function is implemented. is_empty internally uses len function. | ||||
* | Allow applying De Morgan's law to multiple terms at once | Jake Goulding | 2021-03-12 | 1 | -11/+76 |
| | |||||
* | Merge #7956 | bors[bot] | 2021-03-12 | 3 | -0/+280 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7956: Add assist to convert for_each into for loops r=Veykril a=SaiintBrisson This PR resolves #7821. Adds an assist to that converts an `Iterator::for_each` into a for loop: ```rust fn main() { let vec = vec![(1, 2), (2, 3), (3, 4)]; x.iter().for_each(|(x, y)| { println!("x: {}, y: {}", x, y); }) } ``` becomes ```rust fn main() { let vec = vec![(1, 2), (2, 3), (3, 4)]; for (x, y) in x.iter() { println!("x: {}, y: {}", x, y); }); } ``` Co-authored-by: Luiz Carlos Mourão Paes de Carvalho <[email protected]> Co-authored-by: Luiz Carlos <[email protected]> Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Fix convert_iter_for_each_to_for doctest | Lukas Wirth | 2021-03-12 | 2 | -15/+56 |
| | | |||||
| * | fix: generated test fixture | Luiz Carlos Mourão Paes de Carvalho | 2021-03-12 | 2 | -2/+25 |
| | | |||||
| * | fix: replace doc-comments with normal comments | Luiz Carlos | 2021-03-12 | 1 | -20/+20 |
| | | | | | | Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | refactor: refactored and reduced assist code | Luiz Carlos Mourão Paes de Carvalho | 2021-03-12 | 1 | -36/+21 |
| | | |||||
| * | fix: remove semicolon | Luiz Carlos Mourão Paes de Carvalho | 2021-03-10 | 1 | -29/+56 |
| | | |||||
| * | fix: code formatting | Luiz Carlos Mourão Paes de Carvalho | 2021-03-10 | 1 | -10/+20 |
| | | |||||
| * | fix: tests should work for convert_iter_for_each_to_for | Luiz Carlos Mourão Paes de Carvalho | 2021-03-10 | 1 | -11/+44 |
| | | |||||
| * | refactor: create block expressions and for loops using make | Luiz Carlos Mourão Paes de Carvalho | 2021-03-10 | 1 | -29/+50 |
| | | |||||
| * | feat: add assist to conver for_each into for loops | Luiz Carlos Mourão Paes de Carvalho | 2021-03-10 | 2 | -0/+140 |
| | | |||||
* | | fix: add semicolon after type ascription | Conrad Ludgate | 2021-03-11 | 1 | -3/+30 |
| | | |||||
* | | Fix labels for single import assists | Kirill Bulatov | 2021-03-10 | 2 | -20/+12 |
|/ |