Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename ContainerId -> AssocContainerId | Aleksey Kladov | 2019-12-20 | 11 | -51/+51 |
| | |||||
* | Rebuild ra_lsp_server and nest helper function. | Aleksey Kladov | 2019-12-20 | 1 | -37/+37 |
| | | | | Completion now works again, so there's no need not to nest | ||||
* | Handle nested declrations in from_source | Aleksey Kladov | 2019-12-20 | 1 | -7/+16 |
| | |||||
* | Add local functions to bodies | Aleksey Kladov | 2019-12-20 | 5 | -21/+75 |
| | |||||
* | Implement ChildBySource for DefWithBody | Aleksey Kladov | 2019-12-19 | 1 | -42/+55 |
| | |||||
* | Add body as a possible container for items | Aleksey Kladov | 2019-12-19 | 5 | -19/+20 |
| | |||||
* | Allow storing defs in bodies | Aleksey Kladov | 2019-12-19 | 2 | -1/+3 |
| | |||||
* | Drop dead code | Aleksey Kladov | 2019-12-19 | 2 | -60/+4 |
| | |||||
* | Merge #2598 | bors[bot] | 2019-12-19 | 4 | -8/+6 |
|\ | | | | | | | | | | | | | | | 2598: Touch up TokenSet a bit r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Touch up TokenSet a bit | Aleksey Kladov | 2019-12-19 | 4 | -8/+6 |
| | | |||||
* | | Merge #2597 | bors[bot] | 2019-12-19 | 3 | -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 groups | Aleksey Kladov | 2019-12-19 | 3 | -3/+31 |
| | | |||||
* | | Merge #2594 | bors[bot] | 2019-12-19 | 4 | -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-ups | Kirill Bulatov | 2019-12-19 | 1 | -3/+3 |
| | | |||||
| * | Remove TruncateOptions struct | Kirill Bulatov | 2019-12-19 | 4 | -32/+24 |
| | | |||||
| * | Do not add any new configuration parameters | Kirill Bulatov | 2019-12-19 | 6 | -49/+12 |
| | | |||||
| * | Ensure hover shows full type declaration | Kirill Bulatov | 2019-12-19 | 2 | -2/+19 |
| | | |||||
| * | Omit default parameter types | Kirill Bulatov | 2019-12-19 | 9 | -29/+137 |
| | | |||||
* | | Refactor macro tests | Aleksey Kladov | 2019-12-19 | 3 | -397/+283 |
| | | |||||
* | | Fix parsing of interpolated expressions | Aleksey Kladov | 2019-12-19 | 2 | -0/+19 |
|/ | |||||
*-. | Merge #2589 #2591 | bors[bot] | 2019-12-18 | 7 | -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 code | Aleksey Kladov | 2019-12-18 | 1 | -5/+0 |
| |/ | |||||
| * | Touch up docs | Aleksey Kladov | 2019-12-18 | 1 | -1/+2 |
| | | |||||
| * | Forbid <T>::foo syntax in mod paths | Aleksey Kladov | 2019-12-18 | 7 | -20/+27 |
| | | |||||
| * | Move PathKindUp | Aleksey Kladov | 2019-12-18 | 1 | -14/+14 |
| | | |||||
| * | Touch up docs | Aleksey Kladov | 2019-12-18 | 1 | -3/+4 |
| | | |||||
* | | Merge #2311 | bors[bot] | 2019-12-18 | 1 | -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 fmt | Jeremy Kolb | 2019-12-18 | 1 | -1/+3 |
| | | |||||
| * | Pass test | Jeremy Kolb | 2019-12-18 | 1 | -1/+1 |
| | | |||||
| * | WIP: See through Macros for SignatureHelp | kjeremy | 2019-12-18 | 1 | -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 locals | Aleksey Kladov | 2019-12-18 | 2 | -7/+49 |
| | | |||||
* | | Refactor goto tests to always specify texts | Aleksey Kladov | 2019-12-18 | 2 | -52/+76 |
| | | |||||
* | | Add blank lines for readability | Aleksey Kladov | 2019-12-18 | 1 | -0/+4 |
|/ | |||||
* | Refactoring | Edwin Cheng | 2019-12-18 | 4 | -53/+55 |
| | |||||
* | Rename range to by_kind | Edwin Cheng | 2019-12-18 | 3 | -4/+4 |
| | |||||
* | Add test for token map | Edwin Cheng | 2019-12-18 | 1 | -0/+43 |
| | |||||
* | Fix shift id for delim and other tokens | Edwin Cheng | 2019-12-18 | 1 | -3/+15 |
| | |||||
* | Add TokenTextRange | Edwin Cheng | 2019-12-18 | 2 | -10/+35 |
| | |||||
* | Add token id to delims | Edwin Cheng | 2019-12-18 | 6 | -65/+135 |
| | |||||
* | Add token ids for all tt::Leaf | Edwin Cheng | 2019-12-18 | 6 | -33/+72 |
| | |||||
* | Merge #2582 | bors[bot] | 2019-12-17 | 1 | -11/+0 |
|\ | | | | | | | | | | | | | | | 2582: Drop dead code r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Drop dead code | Aleksey Kladov | 2019-12-17 | 1 | -11/+0 |
| | | |||||
* | | Merge #2581 | bors[bot] | 2019-12-17 | 6 | -17/+34 |
|\| | | | | | | | | | | | | | | | 2581: Refactor PathKind r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Refactor PathKind | Aleksey Kladov | 2019-12-17 | 6 | -17/+34 |
| | | |||||
* | | Merge #2580 | bors[bot] | 2019-12-17 | 3 | -3/+3 |
|\ \ | |/ |/| | | | | | | | | | | | 2580: Fix highlighting token names r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Fix highlighting token names | Aleksey Kladov | 2019-12-17 | 3 | -3/+3 |
| | | |||||
* | | Merge #2562 | bors[bot] | 2019-12-17 | 5 | -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_range | Edwin Cheng | 2019-12-14 | 2 | -56/+46 |
| | | |||||
| * | Re-export Origin to replace ExpansionOrigin | Edwin Cheng | 2019-12-14 | 4 | -17/+11 |
| | | |||||
| * | Fix original_source find order | Edwin Cheng | 2019-12-14 | 5 | -55/+109 |
| | |