aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Implementations lens for unionsAleksey Kladov2020-07-111-0/+1
| | | | closes #4728
* Use dedicated semantic highlight tag for parametersAleksey Kladov2020-07-113-4/+8
| | | | closes #5106
* Fix goto definition for type alias type parametersAleksey Kladov2020-07-111-0/+10
| | | | closes https://github.com/rust-analyzer/rust-analyzer/issues/5042
* 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
| |
* | Speed up completionAleksey Kladov2020-07-117-20/+18
|/
* 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
|
* Look through Arc for goto type definitionAleksey Kladov2020-07-101-1/+1
|
* Simplify testsAleksey Kladov2020-07-101-60/+53
|
* Goto type definition works for selfAleksey Kladov2020-07-102-8/+25
|
* Only take first 500 syntax errorsyihuang2020-07-101-1/+2
| | | | Too many syntax errors make some editor/ide slow, fix #3434.
* Don't mess with cursor position when adding hashesAleksey Kladov2020-07-091-1/+1
|
* 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
| |
* | Merge #5270bors[bot]2020-07-091-8/+0
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]>
| * Remove unnecessary DiagnosticSink handlersJonas Schievink2020-07-091-16/+0
| |
| * Add argument count mismatch diagnosticJonas Schievink2020-07-091-0/+8
| |
* | Always put config firstAleksey Kladov2020-07-093-60/+60
| |
* | Cleanup diagnostics testsAleksey Kladov2020-07-092-237/+131
| |
* | Reduce code duplicationAleksey Kladov2020-07-091-181/+147
| |
* | Re-enable IDE features for incomplete impl blocsAleksey Kladov2020-07-092-1/+18
|/
* Prettier renderingAleksey Kladov2020-07-091-43/+43
|
* StreamlineAleksey Kladov2020-07-093-50/+36
|
* Reduce APIAleksey Kladov2020-07-092-13/+8
|
* CleanupAleksey Kladov2020-07-091-21/+15
|
* Reduce APIAleksey Kladov2020-07-091-19/+5
|
* RenameAleksey Kladov2020-07-091-22/+12
|
* Refactor hover testsAleksey Kladov2020-07-081-1582/+1615
|
* Simplify testsAleksey Kladov2020-07-081-59/+55
|
* Add Markup typeAleksey Kladov2020-07-083-48/+67
|
* simplifyAleksey Kladov2020-07-081-9/+11
|
* Minimize APIAleksey Kladov2020-07-081-6/+4
|
* Dead codeAleksey Kladov2020-07-081-31/+19
|
* Reduce visibilityAleksey Kladov2020-07-081-9/+7
|
* Modernize unqualified reference completion testsAleksey Kladov2020-07-074-1214/+414
|
* cleanupAleksey Kladov2020-07-071-3/+2
|
* Switch to fully dynamically dispatched salsaAleksey Kladov2020-07-071-9/+6
| | | | This improves compile times quite a bit
* Modernise item completion testsAleksey Kladov2020-07-041-265/+199
|
* Alight details in comkplation listAleksey Kladov2020-07-047-50/+63
|
* Modernize qual path completion testsAleksey Kladov2020-07-043-1105/+475
|
* Modernize snippet completion testsAleksey Kladov2020-07-041-77/+29
|
* Modernize postfix completion testsAleksey Kladov2020-07-041-512/+123
|
* Modernize pattern completion testsAleksey Kladov2020-07-041-88/+37
|
* Fix lookup in testsAleksey Kladov2020-07-043-0/+11
|
* Macro testsAleksey Kladov2020-07-042-119/+70
|