Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More tight recursion limit when expanding macros in function bodies | Aleksey Kladov | 2020-07-11 | 1 | -6/+48 |
| | | | | | | | | | | | cc #4944 cc #5317 This doesn't fully close #4944 -- looks like we hit SO in syntax highlighting, when we use `Semantics::expand_macro`. Seems like we need to place expansion limit on the macro itself (store it as a part of MacroCallId?)! | ||||
* | Minor | Aleksey Kladov | 2020-07-11 | 1 | -3/+3 |
| | |||||
* | Use dedicated semantic highlight tag for parameters | Aleksey Kladov | 2020-07-11 | 11 | -20/+44 |
| | | | | closes #5106 | ||||
* | Merge #5313 | bors[bot] | 2020-07-11 | 4 | -0/+12 |
|\ | | | | | | | | | | | | | | | | | | | | | 5313: no doctests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | no doctests | Aleksey Kladov | 2020-07-11 | 4 | -0/+12 |
| | | |||||
* | | Merge #5312 | bors[bot] | 2020-07-11 | 2 | -18/+30 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5312: Make slow test parallel r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Make slow test parallel | Aleksey Kladov | 2020-07-11 | 2 | -18/+30 |
| | | | |||||
* | | | Merge #5311 | bors[bot] | 2020-07-11 | 3 | -0/+18 |
|\| | | |/ |/| | | | | | | | | | | | | | | | | | | | | | 5311: Fix goto definition for type alias type parameters r=matklad a=matklad closes https://github.com/rust-analyzer/rust-analyzer/issues/5042 bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Fix goto definition for type alias type parameters | Aleksey Kladov | 2020-07-11 | 3 | -0/+18 |
| | | | | | | | | closes https://github.com/rust-analyzer/rust-analyzer/issues/5042 | ||||
* | | Merge #5310 | bors[bot] | 2020-07-11 | 1 | -31/+31 |
|\| | | | | | | | | | | | | | | | | | | | | | 5310: Reduce visibility r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Reduce visibility | Aleksey Kladov | 2020-07-11 | 1 | -31/+31 |
| | | |||||
* | | Merge #5309 | bors[bot] | 2020-07-11 | 8 | -9/+3 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | 5309: Make sure there are no commands in code actions r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Make sure there are no commands in code actions | Aleksey Kladov | 2020-07-11 | 8 | -9/+3 |
| | | |||||
* | | Merge #4996 | bors[bot] | 2020-07-11 | 1 | -3/+55 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | 4996: Correctly generate new struct field in file containing struct def r=matklad a=TimoFreiberg WIP because the test doesn't pass. Testing the fix by hand looked good, although quickfixes seem to not support setting the editor cursor yet, which i think we want for "generate missing defs from usage" fixes. Co-authored-by: Timo Freiberg <[email protected]> | ||||
| * | Correctly generate new struct field in file containing struct def | Timo Freiberg | 2020-07-10 | 1 | -3/+55 |
| | | |||||
* | | disable profiling | Aleksey Kladov | 2020-07-11 | 3 | -7/+1 |
| | | |||||
* | | Profiling example | Aleksey Kladov | 2020-07-11 | 4 | -2/+13 |
| | | |||||
* | | Profiling tweaks | Aleksey Kladov | 2020-07-11 | 3 | -0/+9 |
| | | |||||
* | | Don't show error when speculatively reloading workspace | Aleksey Kladov | 2020-07-11 | 1 | -4/+6 |
| | | |||||
* | | Speed up completion | Aleksey Kladov | 2020-07-11 | 8 | -20/+19 |
| | | |||||
* | | Simplify | Aleksey Kladov | 2020-07-10 | 1 | -1/+1 |
| | | |||||
* | | Don't spawn notify unnecessary | Aleksey Kladov | 2020-07-10 | 3 | -6/+8 |
| | | |||||
* | | Optimize VFS processing | Aleksey Kladov | 2020-07-10 | 2 | -30/+40 |
| | | |||||
* | | Sort cargo metadata | Aleksey Kladov | 2020-07-10 | 1 | -2/+4 |
| | | | | | | | | | | | | See https://github.com/rust-lang/cargo/issues/8477 We need this to prevent spurious workspace reloads | ||||
* | | Add profiling calls | Aleksey Kladov | 2020-07-10 | 2 | -0/+6 |
| | | |||||
* | | Also reload when adding new examples, tests, etc | Aleksey Kladov | 2020-07-10 | 4 | -11/+58 |
|/ | |||||
* | Better caret placement when filling match arms | Aleksey Kladov | 2020-07-10 | 1 | -124/+86 |
| | |||||
* | Better name | Aleksey Kladov | 2020-07-10 | 2 | -4/+4 |
| | |||||
* | Don't add braces after struct | Aleksey Kladov | 2020-07-10 | 1 | -1/+1 |
| | | | | Unit structs are a thing | ||||
* | Better complete expression keywords | Aleksey Kladov | 2020-07-10 | 2 | -11/+27 |
| | |||||
* | Complete params in nested fns | Aleksey Kladov | 2020-07-10 | 1 | -5/+16 |
| | |||||
* | Complete parameters more aggressively | Aleksey Kladov | 2020-07-10 | 1 | -9/+12 |
| | |||||
* | Refresh tests | Aleksey Kladov | 2020-07-10 | 1 | -30/+7 |
| | |||||
* | Merge #5293 | bors[bot] | 2020-07-10 | 6 | -28/+52 |
|\ | | | | | | | | | | | | | | | | | | | | | 5293: Automatically reload project info on Cargo.toml changes r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Automatically reload project info on Cargo.toml changes | Aleksey Kladov | 2020-07-10 | 6 | -28/+52 |
| | | |||||
* | | Look through Arc for goto type definition | Aleksey Kladov | 2020-07-10 | 1 | -1/+1 |
| | | |||||
* | | Simplify tests | Aleksey Kladov | 2020-07-10 | 1 | -60/+53 |
| | | |||||
* | | Dont expose ID | Aleksey Kladov | 2020-07-10 | 1 | -4/+3 |
| | | |||||
* | | Rename | Aleksey Kladov | 2020-07-10 | 2 | -3/+2 |
| | | |||||
* | | Goto type definition works for self | Aleksey Kladov | 2020-07-10 | 5 | -8/+51 |
|/ | |||||
* | Merge #5286 | bors[bot] | 2020-07-10 | 1 | -1/+2 |
|\ | | | | | | | | | | | | | | | 5286: Only take first 500 syntax errors r=jonas-schievink a=yihuang Too many syntax errors make some editor/ide slow, fix #3434. Co-authored-by: yihuang <[email protected]> | ||||
| * | Only take first 500 syntax errors | yihuang | 2020-07-10 | 1 | -1/+2 |
| | | | | | | | | Too many syntax errors make some editor/ide slow, fix #3434. | ||||
* | | Avoid accidently stumping over config values | Aleksey Kladov | 2020-07-10 | 3 | -134/+169 |
|/ | |||||
* | Don't mess with cursor position when adding hashes | Aleksey Kladov | 2020-07-09 | 4 | -17/+35 |
| | |||||
* | Merge #5284 | bors[bot] | 2020-07-09 | 1 | -2/+15 |
|\ | | | | | | | | | | | | | | | | | | | | | 5284: Fold struct literals r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Fold struct literals | Aleksey Kladov | 2020-07-09 | 1 | -2/+15 |
| | | |||||
* | | arg count mismatch: handle tuple ctors | Jonas Schievink | 2020-07-09 | 1 | -17/+34 |
| | | |||||
* | | Merge #5270 | bors[bot] | 2020-07-09 | 5 | -14/+229 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5270: Add argument count mismatch diagnostic r=matklad a=jonas-schievink Closes https://github.com/rust-analyzer/rust-analyzer/issues/4025. This currently has one false positive on this line, where `max` is resolved to `Iterator::max` instead of `Ord::max`: https://github.com/rust-analyzer/rust-analyzer/blob/8aa10c00a4c5b957d459fac5a103cd9688e8dcdd/crates/expect/src/lib.rs#L263 (I have no idea why it thinks that `usize` is an `Iterator`) TODO: * [x] Tests * [x] Improve diagnostic text for method calls Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | Address review comments | Jonas Schievink | 2020-07-09 | 2 | -40/+28 |
| | | |||||
| * | Add tests | Jonas Schievink | 2020-07-09 | 1 | -0/+129 |
| | |