Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Remove vertical ellipses in references.cs | Phil Ellison | 2019-07-28 | 1 | -34/+33 | |
| | | | ||||||
| * | | Remove vertical ellipses from tests in complete_snippet.rs and presentation.rs | Phil Ellison | 2019-07-28 | 2 | -102/+94 | |
| | | | ||||||
| * | | Remove vertical ellipses from tests in complete_scope.rs | Phil Ellison | 2019-07-28 | 1 | -243/+225 | |
| | | | ||||||
| * | | cargo format | Phil Ellison | 2019-07-28 | 5 | -117/+117 | |
| | | | ||||||
| * | | Inline snapshot for test_file_structure (less clear that this one is a good ↵ | Phil Ellison | 2019-07-28 | 2 | -192/+187 | |
| | | | | | | | | | | | | idea) | |||||
| * | | Inline snapshots for all tests in runnables.rs | Phil Ellison | 2019-07-28 | 5 | -88/+68 | |
| | | | ||||||
| * | | Inline snapshots for all tests in references.rs | Phil Ellison | 2019-07-28 | 2 | -39/+33 | |
| | | | ||||||
| * | | Inline snapshots for all tests in complete_snippet, remove now-unused ↵ | Phil Ellison | 2019-07-28 | 7 | -81/+58 | |
| | | | | | | | | | | | | check_completion | |||||
| * | | Inline snapshots for all tests in presentation.rs | Phil Ellison | 2019-07-28 | 7 | -177/+152 | |
| | | | ||||||
| * | | Inline snapshots for all tests in complete_scope.rs | Phil Ellison | 2019-07-28 | 14 | -434/+396 | |
| | | | ||||||
| * | | Remove unused highlights_code_inside_macro snapshot, inline ↵ | Phil Ellison | 2019-07-28 | 3 | -83/+33 | |
| |/ | | | | | | | rename_mod_in_dir snapshot | |||||
* | | Merge #1621 | bors[bot] | 2019-07-29 | 2 | -10/+23 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1621: Document AssistBuilder r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Document AssistBuilder | Aleksey Kladov | 2019-07-29 | 2 | -10/+23 | |
| | | | | | | | | | | | | closes #1603 | |||||
* | | | Merge #1606 | bors[bot] | 2019-07-29 | 3 | -47/+311 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1606: Add `if let`, `while let` and match arm inlay hints r=matklad a=SomeoneToIgnore <img width="693" alt="image" src="https://user-images.githubusercontent.com/2690773/62013363-152f1d80-b19a-11e9-90ea-07568757baa2.png"> Add more inline hints support. Looks like `while let` type inference support is missing currently, so the corresponding hint tests lack the actual results. I've also could not find a good way to distinguish between `a` and `b` pats in the following expressions: `if let Some(Test { a: None, b: y }) = &test {};` In this case we don't need to add a hint for first pat (`a: None`), since it's matched against the particular enum variant and need a hint for `y`, since it's a new variable. But both `a` and `b` are `BIND_PAT` with similar contents, so looks like there's nothing I can check for to find any differences. I don't display any hints for such cases now, to avoid confusion, but would be nice to know if there's a way to fix this behavior. Co-authored-by: Kirill Bulatov <[email protected]> | |||||
| * | | Support destructuring patterns | Kirill Bulatov | 2019-07-28 | 3 | -47/+311 | |
| | | | ||||||
* | | | Fixed request changes. | Alexander Andreev | 2019-07-29 | 1 | -9/+19 | |
| | | | ||||||
* | | | Added resolve modules inside inline module | Alexander Andreev | 2019-07-29 | 2 | -54/+147 | |
|/ / | | | | | | | #1510 | |||||
* | | it's a good idea to build extension before installing it | Aleksey Kladov | 2019-07-27 | 1 | -1/+7 | |
| | | ||||||
* | | Overhaul installation process | Aleksey Kladov | 2019-07-27 | 2 | -44/+114 | |
| | | | | | | | | | | | | | | The new commands are $ cargo install-ra --client-code $ cargo install-ra --server --jemalloc | |||||
* | | Improve inlay hinting for types | Kirill Bulatov | 2019-07-26 | 3 | -61/+125 | |
| | | | | | | | | | | | | Add hints for types in for loop expressions. Resolve types for every tuple parameter. Refactor the code. | |||||
* | | Make Analysis api cancellable | Kirill Bulatov | 2019-07-25 | 8 | -87/+107 | |
| | | ||||||
* | | move syntax tests to unit tests | Aleksey Kladov | 2019-07-24 | 511 | -12/+11 | |
| | | ||||||
* | | Merge #1584 | bors[bot] | 2019-07-24 | 3 | -526/+88 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1584: switch to upstream unescape r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | switch to upstream unescape | Aleksey Kladov | 2019-07-24 | 3 | -526/+88 | |
| | | | ||||||
* | | | Merge #1583 | bors[bot] | 2019-07-24 | 1 | -1/+1 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | 1583: :arrow_up: rowan r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | :arrow_up: rowan | Aleksey Kladov | 2019-07-24 | 1 | -1/+1 | |
| |/ | ||||||
* | | Merge #1573 | bors[bot] | 2019-07-24 | 3 | -6/+69 | |
|\ \ | |/ |/| | | | | | | | | | | | 1573: fix: parse box syntax inside parentheses r=matklad a=csmoe r? @matklad Co-authored-by: csmoe <[email protected]> | |||||
| * | fix: parse box syntax inside parentheses | csmoe | 2019-07-22 | 3 | -6/+69 | |
| | | ||||||
* | | 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 | |
| |/ |