aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * Fix diagnostic for method callsJonas Schievink2020-07-091-3/+12
| |
| * Correctly pluralize messageJonas Schievink2020-07-091-1/+2
| |
| * Remove unnecessary DiagnosticSink handlersJonas Schievink2020-07-091-16/+0
| |
| * Don't emit diagnostic if there are type errorsJonas Schievink2020-07-091-0/+7
| |
| * Add argument count mismatch diagnosticJonas Schievink2020-07-094-6/+103
| |
* | Always put config firstAleksey Kladov2020-07-094-61/+60
| |
* | Move diagnostics tests to expectAleksey Kladov2020-07-0913-112/+53
| |
* | Add fixmesAleksey Kladov2020-07-091-0/+2
| |
* | SimplifyAleksey Kladov2020-07-0912-133/+13
| |
* | Cleanup diagnostic conversion codeAleksey Kladov2020-07-093-103/+74
| |
* | Remove insta from ra_ideAleksey Kladov2020-07-091-1/+0
| |