Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
*-. | Merge #8591 #8638 | bors[bot] | 2021-04-23 | 15 | -355/+331 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]> | |||||
| | * | Remove SyntaxRewriter::from_fn | Lukas Wirth | 2021-04-23 | 3 | -31/+24 | |
| |/ |/| | ||||||
* | | Simplify highlight token match guards | Lukas Wirth | 2021-04-23 | 2 | -102/+92 | |
| | | ||||||
* | | Sort HlMod variants and ALL const | Lukas Wirth | 2021-04-23 | 6 | -46/+45 | |
| | | ||||||
* | | Tag `yield` and `await` as ControlFlow in semantic highlighting | Lukas Wirth | 2021-04-23 | 2 | -5/+13 | |
| | | ||||||
* | | Merge #8317 | bors[bot] | 2021-04-23 | 5 | -7/+636 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 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 missing test case for "Convert to named struct" assist | unexge | 2021-04-23 | 1 | -0/+40 | |
| | | | ||||||
| * | | Stop iterating reference after made an edit in "Convert to named struct" assist | unexge | 2021-04-23 | 1 | -2/+47 | |
| | | | ||||||
| * | | Move reference editing logic into own function to make error handling more ↵ | unexge | 2021-04-22 | 1 | -68/+61 | |
| | | | | | | | | | | | | ease in "Convert to named struct" assist | |||||
| * | | Use multiple loops instead of `Iterator::chain` in `FindUsages` | unexge | 2021-04-21 | 1 | -13/+22 | |
| | | | ||||||
| * | | Add multi file test for "Convert to named struct" assist | unexge | 2021-04-21 | 1 | -0/+33 | |
| | | | ||||||
| * | | Remove `unwrap`s in "Convert to named struct" assist | unexge | 2021-04-21 | 1 | -9/+19 | |
| | | | ||||||
| * | | Add larger example for "Convert to named struct" assist | unexge | 2021-04-21 | 2 | -8/+60 | |
| | | | ||||||
| * | | Fix incorrectly replacing method calls in "Convert to named struct" assist | unexge | 2021-04-21 | 1 | -17/+41 | |
| | | | ||||||
| * | | Add convert tuple struct to named struct assist | unexge | 2021-04-04 | 5 | -9/+397 | |
| | | | ||||||
| * | | Allow including `Self` kw references to `FindUsages` | unexge | 2021-04-04 | 1 | -4/+39 | |
| | | | ||||||
* | | | Merge #8628 | bors[bot] | 2021-04-22 | 1 | -0/+1 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8628: minor: Add one more profiling span to add_dep r=lnicola a=lnicola CC #8623 bors r+ Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
| * | | | Add one more profiling span to add_dep | Laurențiu Nicola | 2021-04-22 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | Merge #8627 | bors[bot] | 2021-04-22 | 3 | -3/+6 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8627: Add profiling spans under cargo_to_crate_graph r=lnicola a=lnicola bors r+ Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
| * | | | Add profiling spans under cargo_to_crate_graph | Laurențiu Nicola | 2021-04-22 | 3 | -3/+6 | |
| | | | | ||||||
* | | | | Merge #8620 | bors[bot] | 2021-04-22 | 1 | -14/+22 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8620: Remove unnecessary braces for extracted block expression r=Veykril a=brandondong This change addresses the first bullet point of https://github.com/rust-analyzer/rust-analyzer/issues/7839. Specifically, when extracting block expressions, remove the unneeded extra braces inside the generated function. Co-authored-by: Brandon <[email protected]> | |||||
| * | | | | Remove unnecessary braces for extracted block expression | Brandon | 2021-04-22 | 1 | -14/+22 | |
| | | | | | ||||||
* | | | | | Code review feedback. | James Leitch | 2021-04-21 | 3 | -8/+10 | |
| | | | | | ||||||
* | | | | | Diagnostic Remap Path Prefixes added. | James Leitch | 2021-04-21 | 3 | -36/+41 | |
| | | | | | ||||||
* | | | | | Diagnostic paths attempt to use VSCode's path join behavior before ↵ | James Leitch | 2021-04-21 | 1 | -3/+30 | |
| | | | | | | | | | | | | | | | | | | | | defaulting to Rust's path join behavior. | |||||
* | | | | | Merge #8570 | bors[bot] | 2021-04-21 | 2 | -22/+47 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8570: Flycheck tries to parse both Cargo and Rustc messages. r=rickvanprim a=rickvanprim This change allows non-Cargo build systems to be used for Flycheck provided they call `rustc` with `--error-format=json` and emit those JSON messages to `stdout`. Co-authored-by: James Leitch <[email protected]> | |||||
| * | | | | | Code review feedback. | James Leitch | 2021-04-19 | 1 | -15/+16 | |
| | | | | | | ||||||
| * | | | | | Flycheck tries to parse both Cargo and Rustc messages. | James Leitch | 2021-04-19 | 2 | -22/+46 | |
| | | | | | | ||||||
* | | | | | | Merge #8616 | bors[bot] | 2021-04-21 | 2 | -4/+4 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8616: minor: Bump deps r=lnicola a=lnicola bors r+ Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
| * | | | | | | Bump chalk | Laurențiu Nicola | 2021-04-21 | 1 | -3/+3 | |
| | | | | | | | ||||||
| * | | | | | | Bump rustc_lexer | Laurențiu Nicola | 2021-04-21 | 1 | -1/+1 | |
| | |_|/ / / | |/| | | | | ||||||
* / | | | | | Remove `ItemTree::all_inner_items` | Jonas Schievink | 2021-04-21 | 1 | -7/+0 | |
|/ / / / / | ||||||
* | | | | | Add failing local items test | Jonas Schievink | 2021-04-21 | 3 | -0/+46 | |
| | | | | | ||||||
* | | | | | Add support for fill match arms of boolean values | Comonad | 2021-04-21 | 2 | -23/+207 | |
| | | | | | | | | | | | | | | | | | | | | - Add support for boolean inside tuple | |||||
* | | | | | Parse outer atttributes for RecordPatField | Lukas Wirth | 2021-04-21 | 3 | -8/+57 | |
| | | | | | ||||||
* | | | | | fix: no more Registering progress handler for token rustAnalyzer/Indexing ↵ | Aleksey Kladov | 2021-04-20 | 2 | -2/+13 | |
| | | | | | | | | | | | | | | | | | | | | failed. | |||||
* | | | | | Merge #8600 | bors[bot] | 2021-04-20 | 4 | -65/+327 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8600: fix: no longer get stuck on windows r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | | | fix: no longer get stuck on windows | Aleksey Kladov | 2021-04-20 | 4 | -65/+327 | |
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | reading both stdout & stderr is a common gotcha, you need to drain them concurrently to avoid deadlocks. Not sure why I didn't do the right thing from the start. Seems like I assumed the stderr is short? That's not the case when cargo spams `compiling xyz` messages | |||||
* | | | | | Merge #8602 | bors[bot] | 2021-04-20 | 1 | -28/+45 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8602: Fix panic in `replace_derive_with_manual_impl` r=jonas-schievink a=jonas-schievink bors r+ Co-authored-by: Jonas Schievink <[email protected]> | |||||
| * | | | | | Follow testing style guide | Jonas Schievink | 2021-04-20 | 1 | -28/+28 | |
| | | | | | | ||||||
| * | | | | | Fix panic in `replace_derive_with_manual_impl` | Jonas Schievink | 2021-04-20 | 1 | -0/+17 | |
| |/ / / / | ||||||
* / / / / | "Inline variable" when on a use of the variable | Jonas Schievink | 2021-04-20 | 1 | -38/+185 | |
|/ / / / | ||||||
| | | * | Don't filter equal nodes in reorder assists | Lukas Wirth | 2021-04-21 | 2 | -10/+6 | |
| | | | | ||||||
| | | * | Add cov_marks to insert_use tests | Lukas Wirth | 2021-04-20 | 7 | -42/+77 | |
| | | | | ||||||
| | | * | Rewrite extract_struct_from_enum_variant assist | Lukas Wirth | 2021-04-20 | 1 | -85/+91 | |
| | | | | ||||||
| | | * | Remove SyntaxRewriter usage in insert_use in favor of ted | Lukas Wirth | 2021-04-20 | 8 | -243/+185 | |
| | | | | ||||||
| | | * | Replace SyntaxRewriter usage with ted in reorder_impl assist | Lukas Wirth | 2021-04-20 | 1 | -9/+13 | |
| |_|/ |/| | | ||||||
* | | | Merge #8586 | bors[bot] | 2021-04-19 | 2 | -23/+18 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8586: Replace SyntaxRewriter usage with ted in eager::eager_macro_recur r=Veykril a=Veykril Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | | Replace SyntaxRewriter with ted in exppand_macro::expand_macro_recur | Lukas Wirth | 2021-04-19 | 1 | -14/+9 | |
| | | | | ||||||
| * | | | Remove SyntaxRewriter usage in eager::eager_macro_recur | Lukas Wirth | 2021-04-19 | 1 | -9/+9 | |
| | | | |