Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Correctly parse negated literals as const args | Jonas Schievink | 2021-04-29 | 3 | -0/+40 | |
|/ | ||||||
* | internal: ensure that client and server-side configs are not mixed up | Aleksey Kladov | 2021-04-28 | 1 | -2/+5 | |
| | | | | https://github.com/rust-lang/rust/issues/84647 would help big time here. | |||||
* | Merge #8679 | bors[bot] | 2021-04-27 | 1 | -0/+6 | |
|\ | | | | | | | | | | | | | | | | | 8679: fix: don't show error message for a valid notification r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | fix: don't show error message for a valid notification | Aleksey Kladov | 2021-04-27 | 1 | -0/+6 | |
| | | | | | | | | Closes #6782, #6772 | |||||
* | | Return ServerNotInitialized according to the spec | Jeremy Kolb | 2021-04-27 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | According to the spec we should return ServerNotInitialized if the server is waiting for an initialize request and something else comes in. Upgrading to lsp-server 0.5.1 will do this and retry until the initialize request comes in. Fixes #8581 | |||||
* | | Add config options | Jorge Mederos Alvarado | 2021-04-27 | 1 | -0/+2 | |
| | | ||||||
* | | minor: simplify | Aleksey Kladov | 2021-04-26 | 1 | -12/+3 | |
| | | ||||||
* | | fix: make error message in the status bar more useful | Aleksey Kladov | 2021-04-26 | 1 | -1/+1 | |
|/ | | | | | | | At the moment,the popup is just a bazillion of Cargo's "Compiling this\nCompiling that", which is not that useful. --quiet still displays error, which is what we needc | |||||
* | Use -u instead of --utc date flag | Kirill Bulatov | 2021-04-26 | 1 | -1/+1 | |
| | ||||||
* | fix: add date to the version string on Mac | Aleksey Kladov | 2021-04-26 | 1 | -1/+1 | |
| | | | | It doesn't support `--iso` | |||||
* | Fixed formatting | Bastian Kersting | 2021-04-26 | 1 | -1/+1 | |
| | ||||||
* | Added mutable semantic token modifier for &mut self methods | Bastian Kersting | 2021-04-26 | 2 | -4/+9 | |
| | ||||||
* | Check more carefully for cases where a rename can't be done | Danny Zhu | 2021-04-25 | 2 | -6/+105 | |
| | | | | | | | | | | | Attempting to rename an element of a tuple field would previously replace the type with the new name, which doesn't make sense; now it fails instead. The check is done in both `prepare_rename` and `rename` so that the case is caught before the user is prompted for a new name. Some other existing failure cases are also now additionally checked in `prepare_rename`. | |||||
* | Split out merge_imports module from helpers::insert_use | Lukas Wirth | 2021-04-24 | 8 | -329/+344 | |
| | ||||||
* | fix: correct version string to contain hash, build date and channel | Aleksey Kladov | 2021-04-24 | 1 | -21/+41 | |
| | ||||||
*-. | 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 | |
| | | | | |