aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Parse const genericsroblabla2019-12-226-0/+71
| | | | | Fixes #1574 Fixes #2281
* Merge #2599bors[bot]2019-12-192-60/+4
|\ | | | | | | | | | | | | | | 2599: Drop dead code r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * 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]>
| * Remove the setting change reminderKirill Bulatov2019-12-191-5/+0
| |
| * 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-198-57/+12
| |
| * Ensure hover shows full type declarationKirill Bulatov2019-12-192-2/+19
| |
| * Omit default parameter typesKirill Bulatov2019-12-1912-29/+150
| |
* | Merge #2596bors[bot]2019-12-193-397/+283
|\ \ | | | | | | | | | | | | | | | | | | | | | 2596: Refactor macro tests r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Refactor macro testsAleksey Kladov2019-12-193-397/+283
|/ /
* | Merge #2595bors[bot]2019-12-192-0/+19
|\ \ | |/ |/| | | | | | | | | | | 2595: Fix parsing of interpolated expressions r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * 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.
* | Merge #2588bors[bot]2019-12-182-7/+49
|\ \ | | | | | | | | | | | | | | | | | | | | | 2588: Don't bother with focus range for navigation to locals r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Don't bother with focus range for navigation to localsAleksey Kladov2019-12-182-7/+49
| | |
* | | Merge #2587bors[bot]2019-12-182-52/+80
|\| | | | | | | | | | | | | | | | | | | | | | | 2587: Refactor goto tests to always specify texts r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Refactor goto tests to always specify textsAleksey Kladov2019-12-182-52/+76
| | |
| * | Add blank lines for readabilityAleksey Kladov2019-12-181-0/+4
|/ /
* | Merge #2586bors[bot]2019-12-181-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 2586: Make reformat hook actually reformat files r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Make reformat hook actually reformat filesAleksey Kladov2019-12-181-0/+1
| | |
* | | Merge #2585bors[bot]2019-12-181-17/+12
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 2585: Cleanup Vim and NeoVim instructions. Fix #2579 r=oblitum a=oblitum I took some freedom to remove additional tips that I simply considered unnecessary as I view it as responsibility of plugin's own docs. Co-authored-by: Francisco Lopes <[email protected]>
| * | Cleanup Vim and NeoVim instructions. Fix #2579Francisco Lopes2019-12-171-17/+12
| | |
* | | Merge #2545bors[bot]2019-12-1810-81/+272
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2545: Add Token id to all tt::TokenTree r=matklad a=edwin0cheng This PR try to add token id to all `tt::Leaf` and `tt::Delimiter`. ~~Some tests are failed now because of #2544~~ ~~Still blocked by a test in goto-definition : see https://github.com/rust-analyzer/rust-analyzer/pull/2544#issuecomment-565572553~~ Co-authored-by: Edwin Cheng <[email protected]>
| * | 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 #2575bors[bot]2019-12-183-0/+333
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | 2575: [VS Code Extension] Remap error location if it extracted inside macros r=edwin0cheng a=edwin0cheng It should fix for #2569 Co-authored-by: Edwin Cheng <[email protected]>
| * Use substr instead of endswithEdwin Cheng2019-12-181-3/+3
| |
| * Add testsEdwin Cheng2019-12-182-0/+295
| |
| * Add macro span handlingEdwin Cheng2019-12-181-0/+38
|/
* Merge #2583bors[bot]2019-12-173-3/+47
|\ | | | | | | | | | | | | | | | | | | 2583: Use prettier settings in ts-lint r=matklad a=edwin0cheng This PR add `tslint-plugin-prettier` extension in ts-lint, which "runs prettier rules as tslint rules." and remove `quotemark` from ts-lint and let prettier to handle it. And also fix #2515 Co-authored-by: Edwin Cheng <[email protected]>