Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use correct resolver for expressions | Aleksey Kladov | 2019-04-11 | 1 | -3/+1 |
| | |||||
* | remove resolver from CompletonContext | Aleksey Kladov | 2019-04-11 | 5 | -31/+9 |
| | |||||
* | simplify | Aleksey Kladov | 2019-04-11 | 1 | -5/+3 |
| | |||||
* | generalize SourceAnalyzer to handle all defs with bodies | Aleksey Kladov | 2019-04-11 | 3 | -11/+51 |
| | |||||
* | minimize the API | Aleksey Kladov | 2019-04-11 | 2 | -23/+11 |
| | |||||
* | rename | Aleksey Kladov | 2019-04-11 | 10 | -18/+18 |
| | |||||
* | reduce visibility | Aleksey Kladov | 2019-04-11 | 1 | -3/+3 |
| | |||||
* | Make call info to use real name resolution | Aleksey Kladov | 2019-04-11 | 4 | -26/+33 |
| | |||||
* | introduce SourceAnalyzer | Aleksey Kladov | 2019-04-11 | 15 | -187/+206 |
| | |||||
* | fix typo | Aleksey Kladov | 2019-04-11 | 1 | -6/+6 |
| | |||||
* | Merge #1131 | bors[bot] | 2019-04-10 | 10 | -180/+136 |
|\ | | | | | | | | | | | | | | | 1131: Use inline snapshots in complete_dot r=matklad a=vipentti Relates to #1127 Co-authored-by: Ville Penttinen <[email protected]> | ||||
| * | Use inline snapshots in complete_dot | Ville Penttinen | 2019-04-10 | 10 | -180/+136 |
| | | |||||
* | | Use inline snapshots in complete_fn_param | Ville Penttinen | 2019-04-10 | 4 | -72/+58 |
|/ | |||||
* | type-safer source-map for bindings | Aleksey Kladov | 2019-04-10 | 7 | -30/+45 |
| | |||||
* | use either for uses | Aleksey Kladov | 2019-04-10 | 6 | -44/+40 |
| | |||||
* | Merge #1126 | bors[bot] | 2019-04-09 | 10 | -219/+110 |
|\ | | | | | | | | | | | | | | | 1126: Swithc to native salsa interning r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | drop old interning infra | Aleksey Kladov | 2019-04-09 | 2 | -108/+1 |
| | | |||||
| * | migrate to salsas interning | Aleksey Kladov | 2019-04-09 | 8 | -111/+109 |
| | | |||||
* | | Merge #1122 | bors[bot] | 2019-04-09 | 2 | -0/+95 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | 1122: Add explicit type assist. r=matklad a=marcogroppo This assist can be used to specify the explicit type in let statements. For example `let num = 1;` becomes `let num: i32 = 1;`. The assist is applicable only if the inferred type is fully known. Co-authored-by: Marco Groppo <[email protected]> | ||||
| * | Stylistic changes. Updated features.md with the new assists. | Marco Groppo | 2019-04-09 | 1 | -8/+6 |
| | | |||||
| * | Add explicit type assist. | Marco Groppo | 2019-04-08 | 2 | -0/+97 |
| | | |||||
* | | Fix doc comment | Ville Penttinen | 2019-04-09 | 1 | -1/+1 |
| | | |||||
* | | Move display related things from hover to display | Ville Penttinen | 2019-04-09 | 3 | -109/+110 |
| | | |||||
* | | Move FunctionSignature to display/function_signature | Ville Penttinen | 2019-04-09 | 2 | -100/+104 |
| | | |||||
* | | Make display modules private | Ville Penttinen | 2019-04-09 | 2 | -5/+6 |
| | | |||||
* | | Move structure to display/structure | Ville Penttinen | 2019-04-09 | 4 | -9/+9 |
| | | |||||
* | | Move navigation_target to display/navigation_target | Ville Penttinen | 2019-04-09 | 4 | -4/+6 |
| | | |||||
* | | Move completion label functions to display | Ville Penttinen | 2019-04-09 | 4 | -31/+32 |
| | | |||||
* | | Add FunctionSignature::from_hir | Ville Penttinen | 2019-04-09 | 2 | -6/+11 |
| | | |||||
* | | Normalize line-endings in display.rs | Ville Penttinen | 2019-04-09 | 1 | -112/+112 |
| | | | | | | | | This changes from CRLF to LF | ||||
* | | Move FunctionSignature creation to display | Ville Penttinen | 2019-04-09 | 3 | -50/+54 |
| | | |||||
* | | Add no parameter test to call_info | Ville Penttinen | 2019-04-09 | 1 | -0/+19 |
| | | |||||
* | | Move FunctionSignature to display, remove write_joined | Ville Penttinen | 2019-04-09 | 2 | -49/+36 |
| | | | | | | | | | | write_joined is replaced with `join_to_string::join` which provides the necessary functionality. | ||||
* | | Move test specific things | Ville Penttinen | 2019-04-09 | 2 | -16/+11 |
| | | |||||
* | | Update test snapshots | Ville Penttinen | 2019-04-09 | 2 | -10/+10 |
| | | |||||
* | | Refactor CallInfo function signatures to new FunctionSignature type | Ville Penttinen | 2019-04-09 | 8 | -69/+210 |
| | | | | | | | | | | This is used by CallInfo to create a pretty printed function signature that can be used with completions and other places as well. | ||||
* | | migrate to untyped rowan | Aleksey Kladov | 2019-04-09 | 9 | -155/+189 |
|/ | |||||
* | Merge #1105 | bors[bot] | 2019-04-08 | 8 | -231/+683 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1105: [WIP] Implement ra_mbe meta variables support r=matklad a=edwin0cheng This PR implements the following meta variable support in `ra_mba` crate (issue #720): - [x] `path` - [ ] `expr` - [ ] `ty` - [ ] `pat` - [ ] `stmt` - [ ] `block` - [ ] `meta` - [ ] `item` *Implementation Details* In the macro expanding lhs phase, if we see a meta variable type, we try to create a `tt:TokenTree` from the remaining input. And then we use a special set of `ra_parser` to parse it to `SyntaxNode`. Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Refactoring and add some docs | Edwin Cheng | 2019-04-08 | 2 | -83/+106 |
| | | |||||
| * | Fixed infintite loop bug | Edwin Cheng | 2019-04-08 | 1 | -30/+4 |
| | | |||||
| * | Fixed empty node bug | Edwin Cheng | 2019-04-08 | 1 | -10/+49 |
| | | |||||
| * | Use SubtreeWalker instread of flatten TtToken | Edwin Cheng | 2019-04-08 | 4 | -258/+421 |
| | | |||||
| * | Combine all tokensource to one and refactoring | Edwin Cheng | 2019-04-07 | 5 | -86/+94 |
| | | |||||
| * | Refactoring subtree_source | Edwin Cheng | 2019-04-07 | 4 | -364/+386 |
| | | |||||
| * | Add TtCursorTokenSource and TtCursorTokenSink | Edwin Cheng | 2019-04-06 | 4 | -24/+216 |
| | | |||||
| * | Add path test and empty eat_path handling | Edwin Cheng | 2019-04-06 | 3 | -0/+31 |
| | | |||||
* | | Avoid two-phase borrow conflict | Laurențiu Nicola | 2019-04-08 | 1 | -2/+2 |
| | | |||||
* | | updated snapshots | Lenard Pratt | 2019-04-07 | 6 | -77/+44 |
| | | |||||
* | | Added ArrayExprKind, | Lenard Pratt | 2019-04-07 | 5 | -31/+76 |
| | | | | | | | | | | changed the display for fixed array types, Added Array Enum to ra_hir/expr | ||||
* | | Added inference of array length | Lenard Pratt | 2019-04-07 | 6 | -5/+62 |
| | |