Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix: use raw idents in `make::name{_ref}` with keywords | Jonas Schievink | 2021-05-07 | 1 | -2/+12 |
| | |||||
* | Adapt to a new rowan borrowing node API. | Dawer | 2021-05-06 | 1 | -1/+1 |
| | |||||
* | Merge #8591 #8638 | bors[bot] | 2021-04-23 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 8591: Remove SyntaxRewriter usage in insert_use in favor of mutable syntax trees r=matklad a=Veykril Unfortunately changing `insert_use` to not use `SyntaxRewriter` creates a lot of changes since so much relies on that. But on the other hand this should be the biggest usage of `SyntaxRewriter` I believe. 8638: Remove SyntaxRewriter::from_fn r=Veykril a=Veykril Co-authored-by: Lukas Wirth <[email protected]> | ||||
* \ | Merge #8317 | bors[bot] | 2021-04-23 | 1 | -0/+26 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 8317: Convert tuple struct to named struct assist r=Veykril a=unexge Closes https://github.com/rust-analyzer/rust-analyzer/issues/8192 Co-authored-by: unexge <[email protected]> | ||||
| * | | Add convert tuple struct to named struct assist | unexge | 2021-04-04 | 1 | -0/+26 |
| | | | |||||
* | | | Add support for fill match arms of boolean values | Comonad | 2021-04-21 | 1 | -0/+8 |
| | | | | | | | | | | | | - Add support for boolean inside tuple | ||||
| | * | Remove SyntaxRewriter usage in insert_use in favor of ted | Lukas Wirth | 2021-04-20 | 1 | -0/+1 |
| |/ |/| | |||||
* | | Fill match arms for a tuple of a single enum. | Dawer | 2021-04-16 | 1 | -6/+12 |
|/ | |||||
* | syntax: return owned string instead of leaking string | cynecx | 2021-03-26 | 1 | -2/+2 |
| | |||||
* | rewrite merge use trees assist to use muatable syntax trees | Aleksey Kladov | 2021-03-22 | 1 | -1/+1 |
| | | | | changelog internal | ||||
* | remove more redundant clones (clippy::redundant_clone()) | Matthias Krüger | 2021-03-21 | 1 | -1/+1 |
| | |||||
* | Upgrade rowan | Aleksey Kladov | 2021-03-16 | 1 | -2/+12 |
| | | | | Notably, new rowan comes with support for mutable syntax trees. | ||||
* | feat: add expr_for_loop to make in syntax | Luiz Carlos Mourão Paes de Carvalho | 2021-03-10 | 1 | -0/+3 |
| | |||||
* | Better strip turbofishes | Kirill Bulatov | 2021-03-08 | 1 | -0/+4 |
| | |||||
* | Add tests for apply_demorgan | Lukas Wirth | 2021-02-24 | 1 | -2/+5 |
| | |||||
* | allow try expr? when extacting function | Vladyslav Katasonov | 2021-02-13 | 1 | -0/+3 |
| | |||||
* | handle return, break and continue when extracting function | Vladyslav Katasonov | 2021-02-13 | 1 | -9/+47 |
| | |||||
* | allow modifications of vars from outer scope inside extracted function | Vladyslav Katasonov | 2021-02-03 | 1 | -1/+1 |
| | | | | | It currently allows only directly setting variable. No `&mut` references or methods. | ||||
* | . | Aleksey Kladov | 2021-01-19 | 1 | -3/+3 |
| | |||||
* | :arrow_up: rowan | Aleksey Kladov | 2021-01-19 | 1 | -1/+1 |
| | |||||
* | Add Unmerge Use assist | unexge | 2021-01-15 | 1 | -2/+6 |
| | |||||
* | Fixed typos in code comments | Vincent Esche | 2021-01-09 | 1 | -1/+1 |
| | |||||
* | Document `make` module design | Aleksey Kladov | 2020-12-23 | 1 | -1/+7 |
| | |||||
* | Minor, cleanup API | Aleksey Kladov | 2020-12-18 | 1 | -0/+3 |
| | |||||
* | Parenthesize composite if condition before inverting in invert-if assist | Jesse Bakker | 2020-12-15 | 1 | -0/+3 |
| | |||||
* | Add replace_match_with_if_let assist | Lukas Wirth | 2020-12-05 | 1 | -2/+11 |
| | |||||
* | Add missing AssocItems in add_custom_impl assist | Lukas Wirth | 2020-11-05 | 1 | -0/+4 |
| | |||||
* | Support struct variants in extract_struct_from_enum_variant | Lukas Wirth | 2020-11-03 | 1 | -2/+25 |
| | |||||
* | Make insert_use return a SyntaxRewriter | Lukas Wirth | 2020-11-02 | 1 | -0/+37 |
| | |||||
* | Properly qualify trait methods in qualify_path assist | Lukas Wirth | 2020-10-15 | 1 | -0/+3 |
| | |||||
* | when generating new function, focus on return type instead of body | Benjamin Coenen | 2020-10-08 | 1 | -1/+11 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | Merge #6019 | bors[bot] | 2020-09-29 | 1 | -5/+28 |
|\ | | | | | | | | | | | | | | | 6019: Remove make::path_from_text r=matklad a=Veykril This removes the `make::path_from_text` function, which according to a note should've been private. I removed it since it didn't really serve a purpose as it was simply wrapping `make::ast_from_text`. Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Remove make::path_from_text | Lukas Wirth | 2020-09-16 | 1 | -5/+28 |
| | | |||||
* | | Add make utility for empty associated item lists | Matt Hooper | 2020-09-21 | 1 | -0/+4 |
| | | |||||
* | | Add make::glob_use_tree function to create star-only UseTree | Lukas Wirth | 2020-09-16 | 1 | -0/+4 |
|/ | |||||
* | Merge #5940 | bors[bot] | 2020-09-04 | 1 | -0/+15 |
|\ | | | | | | | | | | | | | | | 5940: Implement "Replace `impl Trait` function argument with the named generic" assist. r=matklad a=alekseysidorov Fixes #5085 Co-authored-by: Aleksei Sidorov <[email protected]> | ||||
| * | Fix tests | Aleksei Sidorov | 2020-09-04 | 1 | -1/+1 |
| | | |||||
| * | Initial implementation of the #5085 issue | Aleksei Sidorov | 2020-09-03 | 1 | -0/+15 |
| | | |||||
* | | Impl make::blank_line | Lukas Wirth | 2020-09-03 | 1 | -1/+11 |
|/ | |||||
* | Reduce path_from_text usage | Aleksey Kladov | 2020-08-31 | 1 | -0/+1 |
| | |||||
* | Remove dead code | Aleksey Kladov | 2020-08-31 | 1 | -14/+0 |
| | |||||
* | Cleanup invert-if | Aleksey Kladov | 2020-08-25 | 1 | -6/+3 |
| | | | | | * stick to trivial factory functions in make * compress the logic for inverting Option/Result | ||||
* | Invert if should be smart about is_some, is_none, is_ok, is_err | dragfire | 2020-08-24 | 1 | -1/+7 |
| | |||||
* | Remove deprecated function | Aleksey Kladov | 2020-08-13 | 1 | -0/+7 |
| | |||||
* | **Merge Imports** assist handles self | Aleksey Kladov | 2020-08-12 | 1 | -0/+3 |
| | |||||
* | Rename ra_syntax -> syntax | Aleksey Kladov | 2020-08-12 | 1 | -0/+392 |