aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* More tight recursion limit when expanding macros in function bodiesAleksey Kladov2020-07-111-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?)!
* MinorAleksey Kladov2020-07-111-3/+3
|
* Use dedicated semantic highlight tag for parametersAleksey Kladov2020-07-1111-20/+44
| | | | closes #5106
* Merge #5313bors[bot]2020-07-114-0/+12
|\ | | | | | | | | | | | | | | | | | | | | 5313: no doctests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * no doctestsAleksey Kladov2020-07-114-0/+12
| |
* | Merge #5312bors[bot]2020-07-112-18/+30
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5312: Make slow test parallel r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Make slow test parallelAleksey Kladov2020-07-112-18/+30
| | |
* | | Merge #5311bors[bot]2020-07-113-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 parametersAleksey Kladov2020-07-113-0/+18
| | | | | | | | closes https://github.com/rust-analyzer/rust-analyzer/issues/5042
* | Merge #5310bors[bot]2020-07-111-31/+31
|\| | | | | | | | | | | | | | | | | | | | | 5310: Reduce visibility r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Reduce visibilityAleksey Kladov2020-07-111-31/+31
| |
* | Merge #5309bors[bot]2020-07-118-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 actionsAleksey Kladov2020-07-118-9/+3
| |
* | Merge #4996bors[bot]2020-07-111-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 defTimo Freiberg2020-07-101-3/+55
| |
* | disable profilingAleksey Kladov2020-07-113-7/+1
| |
* | Profiling exampleAleksey Kladov2020-07-114-2/+13
| |
* | Profiling tweaksAleksey Kladov2020-07-113-0/+9
| |
* | Don't show error when speculatively reloading workspaceAleksey Kladov2020-07-111-4/+6
| |
* | Speed up completionAleksey Kladov2020-07-118-20/+19
| |
* | SimplifyAleksey Kladov2020-07-101-1/+1
| |
* | Don't spawn notify unnecessaryAleksey Kladov2020-07-103-6/+8
| |
* | Optimize VFS processingAleksey Kladov2020-07-102-30/+40
| |
* | Sort cargo metadataAleksey Kladov2020-07-101-2/+4
| | | | | | | | | | | | See https://github.com/rust-lang/cargo/issues/8477 We need this to prevent spurious workspace reloads
* | Add profiling callsAleksey Kladov2020-07-102-0/+6
| |
* | Also reload when adding new examples, tests, etcAleksey Kladov2020-07-104-11/+58
|/
* Better caret placement when filling match armsAleksey Kladov2020-07-101-124/+86
|
* Better nameAleksey Kladov2020-07-102-4/+4
|
* Don't add braces after structAleksey Kladov2020-07-101-1/+1
| | | | Unit structs are a thing
* Better complete expression keywordsAleksey Kladov2020-07-102-11/+27
|
* Complete params in nested fnsAleksey Kladov2020-07-101-5/+16
|
* Complete parameters more aggressivelyAleksey Kladov2020-07-101-9/+12
|
* Refresh testsAleksey Kladov2020-07-101-30/+7
|
* Merge #5293bors[bot]2020-07-106-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 changesAleksey Kladov2020-07-106-28/+52
| |
* | Look through Arc for goto type definitionAleksey Kladov2020-07-101-1/+1
| |
* | Simplify testsAleksey Kladov2020-07-101-60/+53
| |
* | Dont expose IDAleksey Kladov2020-07-101-4/+3
| |
* | RenameAleksey Kladov2020-07-102-3/+2
| |
* | Goto type definition works for selfAleksey Kladov2020-07-105-8/+51
|/
* Merge #5286bors[bot]2020-07-101-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 errorsyihuang2020-07-101-1/+2
| | | | | | | | Too many syntax errors make some editor/ide slow, fix #3434.
* | Avoid accidently stumping over config valuesAleksey Kladov2020-07-103-134/+169
|/
* Don't mess with cursor position when adding hashesAleksey Kladov2020-07-094-17/+35
|
* Merge #5284bors[bot]2020-07-091-2/+15
|\ | | | | | | | | | | | | | | | | | | | | 5284: Fold struct literals r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Fold struct literalsAleksey Kladov2020-07-091-2/+15
| |
* | arg count mismatch: handle tuple ctorsJonas Schievink2020-07-091-17/+34
| |
* | Merge #5270bors[bot]2020-07-095-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 commentsJonas Schievink2020-07-092-40/+28
| |
| * Add testsJonas Schievink2020-07-091-0/+129
| |