Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | show local variable types in completion | Ekaterina Babshukova | 2019-07-23 | 6 | -9/+30 | |
| | | ||||||
* | | Merge #1549 | bors[bot] | 2019-07-23 | 5 | -1/+237 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1549: Show type lenses for the resolved let bindings r=matklad a=SomeoneToIgnore Types that are fully unresolved are not displayed: <img width="279" alt="image" src="https://user-images.githubusercontent.com/2690773/61518122-8e4ba980-aa11-11e9-9249-6d9f9b202e6a.png"> A few concerns that I have about the current implementation: * I've adjusted the `file_structure` API method to return the information about the `let` bindings. Although it works fine, I have a feeling that adding a new API method would be the better way. But this requires some prior discussion, so I've decided to go for an easy way with an MVP. Would be nice to hear your suggestions. * There's a hardcoded `{undersolved}` check that I was forced to use, since the method that resolves types returns a `String`. Is there a better typed API I can use? This will help, for instance, to add an action to the type lenses that will allow us to navigate to the type. Co-authored-by: Kirill Bulatov <[email protected]> | |||||
| * | | Code review fixes | Kirill Bulatov | 2019-07-22 | 4 | -30/+70 | |
| | | | ||||||
| * | | Use SmolStr for the type text | Kirill Bulatov | 2019-07-21 | 1 | -3/+6 | |
| | | | ||||||
| * | | Fix the string conversions | Kirill Bulatov | 2019-07-21 | 1 | -2/+2 | |
| | | | ||||||
| * | | Merge branch 'master' into add-type-lenses | Kirill Bulatov | 2019-07-21 | 34 | -793/+372 | |
| |\| | ||||||
| * | | Do not show the lens with type hints | Kirill Bulatov | 2019-07-21 | 1 | -13/+4 | |
| | | | ||||||
| * | | Resolve types on the server | Kirill Bulatov | 2019-07-21 | 3 | -79/+84 | |
| | | | ||||||
| * | | Code review fixes | Kirill Bulatov | 2019-07-21 | 3 | -69/+62 | |
| | | | ||||||
| * | | Refactor server api | Kirill Bulatov | 2019-07-20 | 5 | -55/+222 | |
| | | | ||||||
| * | | Fix tuple type lens resolution | Kirill Bulatov | 2019-07-20 | 1 | -3/+4 | |
| | | | ||||||
| * | | Do not show a lens when the type is declared explicitly | Kirill Bulatov | 2019-07-20 | 1 | -0/+4 | |
| | | | ||||||
| * | | Fix rebase issue | Kirill Bulatov | 2019-07-20 | 1 | -1/+1 | |
| | | | ||||||
| * | | If possible, show type lenses for the let bindings | Kirill Bulatov | 2019-07-20 | 2 | -16/+48 | |
| | | | ||||||
* | | | flexi_logger 0.14 | kjeremy | 2019-07-22 | 3 | -3/+3 | |
| | | | ||||||
* | | | kill old lexer | Aleksey Kladov | 2019-07-22 | 6 | -571/+17 | |
| | | | ||||||
* | | | add rustc_lexer | Aleksey Kladov | 2019-07-22 | 7 | -25/+149 | |
| |/ |/| | ||||||
* | | Merge #1570 | bors[bot] | 2019-07-21 | 28 | -772/+238 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1570: switch to upstream rowan's API r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | simiplify | Aleksey Kladov | 2019-07-21 | 2 | -11/+10 | |
| | | | ||||||
| * | | streamline API | Aleksey Kladov | 2019-07-21 | 10 | -37/+33 | |
| | | | ||||||
| * | | minor, move type | Aleksey Kladov | 2019-07-21 | 3 | -12/+13 | |
| | | | ||||||
| * | | switch to upstream rowan's API | Aleksey Kladov | 2019-07-20 | 21 | -725/+195 | |
| |/ | ||||||
* / | provide completion in struct patterns | Ekaterina Babshukova | 2019-07-21 | 7 | -21/+134 | |
|/ | ||||||
* | Merge #1566 | bors[bot] | 2019-07-20 | 9 | -24/+18 | |
|\ | | | | | | | | | | | | | | | 1566: align SyntaxText API with upstream r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | align SyntaxText API with upstream | Aleksey Kladov | 2019-07-20 | 9 | -24/+18 | |
| | | ||||||
* | | Merge #1562 | bors[bot] | 2019-07-20 | 6 | -1/+121 | |
|\ \ | |/ |/| | | | | | | | | | | | | | 1562: Continue support for .await r=matklad a=unrealhoang - add await expr to ast and HIR Expr - infer type for `.await` Co-authored-by: Unreal Hoang <[email protected]> | |||||
| * | infer type for await | Unreal Hoang | 2019-07-20 | 3 | -2/+78 | |
| | | | | | | | | by projecting inner_ty to Future::Output alias | |||||
| * | add await expr to ast | Unreal Hoang | 2019-07-20 | 4 | -1/+45 | |
| | | ||||||
* | | Merge #1560 | bors[bot] | 2019-07-20 | 57 | -241/+260 | |
|\ \ | |/ |/| | | | | | | | | | | | 1560: move debug_dump to fmt::Debug r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | rename range -> text_range | Aleksey Kladov | 2019-07-20 | 54 | -192/+219 | |
| | | ||||||
| * | move debug_dump to fmt::Debug | Aleksey Kladov | 2019-07-20 | 10 | -50/+42 | |
| | | ||||||
* | | add await to syntax, parser for await_expr | Unreal Hoang | 2019-07-20 | 5 | -0/+93 | |
|/ | ||||||
* | remove lifetime from syntax node text | Aleksey Kladov | 2019-07-19 | 3 | -14/+15 | |
| | ||||||
* | sane indexing in text | Aleksey Kladov | 2019-07-19 | 2 | -11/+13 | |
| | ||||||
* | flip syntax text to use internal iteration | Aleksey Kladov | 2019-07-19 | 4 | -38/+78 | |
| | ||||||
* | drop memory size of subtree | Aleksey Kladov | 2019-07-19 | 2 | -15/+4 | |
| | | | | | it wasn't too accurate and the new measurement method of dropping the database completely is better anyway | |||||
* | convenience api | Aleksey Kladov | 2019-07-19 | 8 | -50/+63 | |
| | ||||||
* | minor | Aleksey Kladov | 2019-07-19 | 1 | -5/+1 | |
| | ||||||
* | cleanup casts | Aleksey Kladov | 2019-07-19 | 6 | -850/+975 | |
| | ||||||
* | several highlighting cleanups | Aleksey Kladov | 2019-07-19 | 6 | -68/+92 | |
| | | | | | | * make stuff more type-safe by using `BindPat` instead of just `Pat` * don't add `mut` into binding hash * reset shadow counter when we enter a function | |||||
* | switch to the upstream rowan | Aleksey Kladov | 2019-07-19 | 1 | -1/+1 | |
| | ||||||
* | migrate ra_cli to the new rowan | Aleksey Kladov | 2019-07-19 | 1 | -3/+3 | |
| | ||||||
* | migrate ra_ide_api to the new rowan | Aleksey Kladov | 2019-07-19 | 29 | -290/+342 | |
| | ||||||
* | migrate ra_assists to the new AST | Aleksey Kladov | 2019-07-19 | 17 | -204/+213 | |
| | ||||||
* | migrate ra_hir to the new rowan | Aleksey Kladov | 2019-07-19 | 22 | -210/+206 | |
| | ||||||
* | migrate ra_fmt to new rowan | Aleksey Kladov | 2019-07-19 | 1 | -7/+7 | |
| | ||||||
* | migrate mbe to the new rowan | Aleksey Kladov | 2019-07-19 | 4 | -36/+27 | |
| | ||||||
* | migrate ra_syntax to the new rowan API | Aleksey Kladov | 2019-07-19 | 18 | -2347/+1183 | |
| | ||||||
* | use Parse in mbe | Aleksey Kladov | 2019-07-18 | 7 | -63/+64 | |
| | ||||||
* | make Parse generic | Aleksey Kladov | 2019-07-18 | 5 | -23/+44 | |
| |