Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move ScopeEntryWithSyntax | Aleksey Kladov | 2019-04-13 | 4 | -37/+34 |
| | |||||
* | drop obsolete fixme | Aleksey Kladov | 2019-04-13 | 2 | -5/+4 |
| | |||||
* | make expr scope stuff private | Aleksey Kladov | 2019-04-13 | 1 | -11/+9 |
| | |||||
* | make resolver private | Aleksey Kladov | 2019-04-13 | 6 | -26/+23 |
| | |||||
* | hide resolver | Aleksey Kladov | 2019-04-13 | 4 | -9/+17 |
| | |||||
* | fold ScopeWithSyntax into SourceAnalyzer | Aleksey Kladov | 2019-04-13 | 7 | -193/+159 |
| | |||||
* | make stuff private | Aleksey Kladov | 2019-04-13 | 1 | -3/+3 |
| | |||||
* | obsolete fixm | Aleksey Kladov | 2019-04-13 | 1 | -1/+0 |
| | |||||
* | make private | Aleksey Kladov | 2019-04-13 | 1 | -1/+1 |
| | |||||
* | only def-with-body remains | Aleksey Kladov | 2019-04-13 | 1 | -13/+3 |
| | |||||
* | generalize | Aleksey Kladov | 2019-04-13 | 1 | -15/+7 |
| | |||||
* | simplify | Aleksey Kladov | 2019-04-13 | 1 | -10/+5 |
| | |||||
* | simplify | Aleksey Kladov | 2019-04-13 | 1 | -7/+1 |
| | |||||
* | make private | Aleksey Kladov | 2019-04-13 | 1 | -1/+1 |
| | |||||
* | hide some scopes | Aleksey Kladov | 2019-04-13 | 4 | -23/+28 |
| | |||||
* | simplify | Aleksey Kladov | 2019-04-12 | 2 | -17/+12 |
| | |||||
* | make stuff private | Aleksey Kladov | 2019-04-12 | 1 | -6/+2 |
| | |||||
* | simplify | Aleksey Kladov | 2019-04-12 | 1 | -54/+22 |
| | |||||
* | simplify tests | Aleksey Kladov | 2019-04-12 | 3 | -36/+23 |
| | |||||
* | use really correct resolver for expressions | Aleksey Kladov | 2019-04-12 | 9 | -13/+27 |
| | |||||
* | fix typo | Aleksey Kladov | 2019-04-11 | 3 | -6/+6 |
| | |||||
* | add todo | Aleksey Kladov | 2019-04-11 | 1 | -0/+1 |
| | |||||
* | 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 |
| | |||||
* | Merge #1133 | bors[bot] | 2019-04-11 | 1 | -6/+6 |
|\ | | | | | | | | | | | | | | | 1133: fix typo r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | 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 |
| | | |||||
* | | Merge #1130 | bors[bot] | 2019-04-10 | 4 | -72/+58 |
|\ \ | |/ |/| | | | | | | | | | | | 1130: Use inline snapshots in complete_fn_param r=matklad a=vipentti Relates to #1127 Co-authored-by: Ville Penttinen <[email protected]> | ||||
| * | Use inline snapshots in complete_fn_param | Ville Penttinen | 2019-04-10 | 4 | -72/+58 |
|/ | |||||
* | Merge #1128 | bors[bot] | 2019-04-10 | 12 | -74/+85 |
|\ | | | | | | | | | | | | | | | 1128: A touch of type-safety r=matklad a=matklad Note that we intentionally don't use `Either` from crates.io: I like A/B naming more then left/rigth, I feel like we might need Either3 with C at some point, and I'd love the ability to write inherent impls Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | 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 | 3 | -1/+126 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | 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 | 2 | -9/+37 |
| | | |||||
| * | Add explicit type assist. | Marco Groppo | 2019-04-08 | 2 | -0/+97 |
| | | |||||
* | | Merge #1110 | bors[bot] | 2019-04-09 | 16 | -231/+391 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1110: Introduce display module and implement new FunctionSignature for CallInfo's r=matklad a=vipentti This introduces a new module `display` in `ra_ide_api` that contains UI-related things, in addition this refactors CallInfo's function signatures into a new `FunctionSignature` type, which implements `Display` and can be converted into `lsp_types::SignatureInformation` in the `conv` layer. Currently only `CallInfo` uses the `FunctionSignature` directly, but `function_label` now uses the same signature and returns it as a string, using the `Display` implementation. This also fixes #960 I think this similar structure could be applied to other UI-displayable items, so instead of the `ra_ide_api` returning `Strings` we could return some intermediate structures that can be converted into a UI-displayable `String` easily, but that could also provide some additional information. Co-authored-by: Ville Penttinen <[email protected]> | ||||
| * | | 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 |
| | | |