aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | show local variable types in completionEkaterina Babshukova2019-07-236-9/+30
|/ /
* | Merge #1549bors[bot]2019-07-235-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 fixesKirill Bulatov2019-07-224-30/+70
| | |
| * | Use SmolStr for the type textKirill Bulatov2019-07-211-3/+6
| | |
| * | Fix the string conversionsKirill Bulatov2019-07-211-2/+2
| | |
| * | Merge branch 'master' into add-type-lensesKirill Bulatov2019-07-2136-809/+383
| |\|
| * | Do not show the lens with type hintsKirill Bulatov2019-07-211-13/+4
| | |
| * | Resolve types on the serverKirill Bulatov2019-07-213-79/+84
| | |
| * | Code review fixesKirill Bulatov2019-07-213-69/+62
| | |
| * | Refactor server apiKirill Bulatov2019-07-205-55/+222
| | |
| * | Fix tuple type lens resolutionKirill Bulatov2019-07-201-3/+4
| | |
| * | Do not show a lens when the type is declared explicitlyKirill Bulatov2019-07-201-0/+4
| | |
| * | Fix rebase issueKirill Bulatov2019-07-201-1/+1
| | |
| * | If possible, show type lenses for the let bindingsKirill Bulatov2019-07-202-16/+48
| | |
* | | Merge #1579bors[bot]2019-07-224-8/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1579: flexi_logger 0.14 r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | | flexi_logger 0.14kjeremy2019-07-224-8/+8
| | | |
* | | | Merge #1577bors[bot]2019-07-220-0/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1577: smaller debuginfo in release r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | smaller debuginfo in releaseAleksey Kladov2019-07-221-1/+1
| | |_|/ | |/| |
* | | | Merge #1576bors[bot]2019-07-221-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 1576: don't optimize on CI, it isn't faster r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | don't optimize on CI, it isn't fasterAleksey Kladov2019-07-221-1/+1
| |/ /
* | | Merge #1578bors[bot]2019-07-221-101/+101
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1578: :arrow_up: deps r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | :arrow_up: depsAleksey Kladov2019-07-221-101/+101
|/ / /
* | | smaller debuginfo in releaseAleksey Kladov2019-07-221-1/+1
| | |
* | | Merge #1575bors[bot]2019-07-2213-595/+175
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | 1575: Use the same lexer as `rustc` r=matklad a=matklad This is :zap: ! bors r+ Co-authored-by: Aleksey Kladov <[email protected]>
| * | kill old lexerAleksey Kladov2019-07-226-571/+17
| | |
| * | add rustc_lexerAleksey Kladov2019-07-228-25/+159
|/ /
* | Remove obsolete keybindingAleksey Kladov2019-07-211-5/+0
| |
* | Merge #1570bors[bot]2019-07-2129-783/+249
|\ \ | | | | | | | | | | | | | | | | | | | | | 1570: switch to upstream rowan's API r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | simiplifyAleksey Kladov2019-07-212-11/+10
| | |
| * | streamline APIAleksey Kladov2019-07-2110-37/+33
| | |
| * | minor, move typeAleksey Kladov2019-07-213-12/+13
| | |
| * | switch to upstream rowan's APIAleksey Kladov2019-07-2022-736/+206
| |/
* | Merge #1572bors[bot]2019-07-217-21/+134
|\ \ | |/ |/| | | | | | | | | | | 1572: Provide completion in struct patterns r=matklad a=viorina Co-authored-by: Ekaterina Babshukova <[email protected]>
| * provide completion in struct patternsEkaterina Babshukova2019-07-217-21/+134
|/
* Merge #1568bors[bot]2019-07-201-1/+1
|\ | | | | | | | | | | | | | | 1568: update readme r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * update readmeAleksey Kladov2019-07-201-1/+1
| |
* | Merge #1567bors[bot]2019-07-201-2/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | 1567: speedup CI r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | speedup CIAleksey Kladov2019-07-201-2/+5
| |/
* | Merge #1566bors[bot]2019-07-209-24/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | 1566: align SyntaxText API with upstream r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | align SyntaxText API with upstreamAleksey Kladov2019-07-209-24/+18
| |/
* | Merge #1562bors[bot]2019-07-206-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 awaitUnreal Hoang2019-07-203-2/+78
| | | | | | | | by projecting inner_ty to Future::Output alias
| * add await expr to astUnreal Hoang2019-07-204-1/+45
| |
* | Merge #1560bors[bot]2019-07-2057-241/+260
|\ \ | |/ |/| | | | | | | | | | | 1560: move debug_dump to fmt::Debug r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * rename range -> text_rangeAleksey Kladov2019-07-2054-192/+219
| |
| * move debug_dump to fmt::DebugAleksey Kladov2019-07-2010-50/+42
| |
* | Merge #1558bors[bot]2019-07-205-0/+93
|\ \ | |/ |/| | | | | | | | | | | | | 1558: Support .await syntax r=matklad a=unrealhoang - [x] Add `await` keyword to grammar, parser for await_expr - [ ] Infer type for await_expr Co-authored-by: Unreal Hoang <[email protected]>
| * add await to syntax, parser for await_exprUnreal Hoang2019-07-205-0/+93
|/
* Merge #1557bors[bot]2019-07-193-14/+15
|\ | | | | | | | | | | | | | | 1557: remove lifetime from syntax node text r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * remove lifetime from syntax node textAleksey Kladov2019-07-193-14/+15
| |