aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Rebuild ra_lsp_server and nest helper function.Aleksey Kladov2019-12-201-37/+37
| | | | | | | | | | | | Completion now works again, so there's no need not to nest
* | | Handle nested declrations in from_sourceAleksey Kladov2019-12-201-7/+16
| | |
* | | Add local functions to bodiesAleksey Kladov2019-12-205-21/+75
| | |
* | | Implement ChildBySource for DefWithBodyAleksey Kladov2019-12-191-42/+55
| | |
* | | Add body as a possible container for itemsAleksey Kladov2019-12-195-19/+20
| | |
* | | Allow storing defs in bodiesAleksey Kladov2019-12-192-1/+3
| |/ |/|
* | Drop dead codeAleksey Kladov2019-12-192-60/+4
| |
* | Merge #2598bors[bot]2019-12-194-8/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | 2598: Touch up TokenSet a bit r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Touch up TokenSet a bitAleksey Kladov2019-12-194-8/+6
| | |
* | | Merge #2597bors[bot]2019-12-193-3/+31
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 2597: Handle start imports in import groups r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Handle start imports in import groupsAleksey Kladov2019-12-193-3/+31
| | |
* | | Merge #2594bors[bot]2019-12-194-5/+85
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 2594: Omit default parameter types r=matklad a=SomeoneToIgnore Part of https://github.com/rust-analyzer/rust-analyzer/issues/1946 Co-authored-by: Kirill Bulatov <[email protected]>
| * | Omit default types for hover pop-upsKirill Bulatov2019-12-191-3/+3
| | |
| * | Remove TruncateOptions structKirill Bulatov2019-12-194-32/+24
| | |
| * | Do not add any new configuration parametersKirill Bulatov2019-12-196-49/+12
| | |
| * | Ensure hover shows full type declarationKirill Bulatov2019-12-192-2/+19
| | |
| * | Omit default parameter typesKirill Bulatov2019-12-199-29/+137
| | |
* | | Refactor macro testsAleksey Kladov2019-12-193-397/+283
| | |
* | | Fix parsing of interpolated expressionsAleksey Kladov2019-12-192-0/+19
|/ /
| |
| \
*-. \ Merge #2589 #2591bors[bot]2019-12-187-36/+40
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2589: Touch up docs r=matklad a=matklad 2591: Remove dead code r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| | * | Remove dead codeAleksey Kladov2019-12-181-5/+0
| |/ /
| * | Touch up docsAleksey Kladov2019-12-181-1/+2
| | |
| * | Forbid <T>::foo syntax in mod pathsAleksey Kladov2019-12-187-20/+27
| | |
| * | Move PathKindUpAleksey Kladov2019-12-181-14/+14
| | |
| * | Touch up docsAleksey Kladov2019-12-181-3/+4
| | |
* | | Merge #2311bors[bot]2019-12-181-10/+33
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2311: See through Macros for SignatureHelp r=matklad a=kjeremy Note: we meed to skip the trivia filter to make sure that `covers!(call_info_bad_offset)` succeeds otherwise we exit call_info too early. Also the test doesn't pass: `FnCallNode::with_node` always detects a MacroCall which is obviously wrong. Fixes #2310 Co-authored-by: kjeremy <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]>
| * | cargo fmtJeremy Kolb2019-12-181-1/+3
| | |
| * | Pass testJeremy Kolb2019-12-181-1/+1
| | |
| * | WIP: See through Macros for SignatureHelpkjeremy2019-12-181-9/+30
| |/ | | | | | | | | | | | | | | | | Note: we meed to skip the trivia filter to make sure that `covers!(call_info_bad_offset)` succeeds otherwise we exit call_info too early. Also the test doesn't pass: `FnCallNode::with_node` always detects a MacroCall.
* | Don't bother with focus range for navigation to localsAleksey Kladov2019-12-182-7/+49
| |
* | Refactor goto tests to always specify textsAleksey Kladov2019-12-182-52/+76
| |
* | Add blank lines for readabilityAleksey Kladov2019-12-181-0/+4
|/
* RefactoringEdwin Cheng2019-12-184-53/+55
|
* Rename range to by_kindEdwin Cheng2019-12-183-4/+4
|
* Add test for token mapEdwin Cheng2019-12-181-0/+43
|
* Fix shift id for delim and other tokensEdwin Cheng2019-12-181-3/+15
|
* Add TokenTextRangeEdwin Cheng2019-12-182-10/+35
|
* Add token id to delimsEdwin Cheng2019-12-186-65/+135
|
* Add token ids for all tt::LeafEdwin Cheng2019-12-186-33/+72
|
* Merge #2582bors[bot]2019-12-171-11/+0
|\ | | | | | | | | | | | | | | 2582: Drop dead code r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Drop dead codeAleksey Kladov2019-12-171-11/+0
| |
* | Merge #2581bors[bot]2019-12-176-17/+34
|\| | | | | | | | | | | | | | | 2581: Refactor PathKind r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Refactor PathKindAleksey Kladov2019-12-176-17/+34
| |
* | Merge #2580bors[bot]2019-12-173-3/+3
|\ \ | |/ |/| | | | | | | | | | | 2580: Fix highlighting token names r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Fix highlighting token namesAleksey Kladov2019-12-173-3/+3
| |
* | Merge #2562bors[bot]2019-12-175-48/+86
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | 2562: Fix NavigationTarget ranges r=matklad a=edwin0cheng Fix the issue described in https://github.com/rust-analyzer/rust-analyzer/pull/2544#issuecomment-565572553 This PR change the order for finding `full_range` of `focus_range` in following orders: 1. map both ranges to macro_call 2. map focus range to a token inside macro call, and full range to the whole of macro call 3. map both ranges to the whole of macro call And fix the corresponding tests and make these tests easily to follow. Co-authored-by: Edwin Cheng <[email protected]>
| * Use simpler logic on original_rangeEdwin Cheng2019-12-142-56/+46
| |
| * Re-export Origin to replace ExpansionOriginEdwin Cheng2019-12-144-17/+11
| |
| * Fix original_source find orderEdwin Cheng2019-12-145-55/+109
| |
* | Improve recovery for incomplete lambdasAleksey Kladov2019-12-173-1/+94
| |