Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | migrate gen-lsp-server to new crossbeam | Aleksey Kladov | 2018-12-30 | 3 | -9/+13 | |
| | | | ||||||
* | | | refine semi completion | Aleksey Kladov | 2018-12-30 | 2 | -16/+34 | |
|/ / | ||||||
* | | Merge #366 | bors[bot] | 2018-12-30 | 3 | -33/+51 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 366: parse minus before number literal pattern r=matklad a=csmoe r?@matklad ![unknown](https://user-images.githubusercontent.com/35686186/50547871-d5449e00-0c7d-11e9-9ff5-1031e78019de.png) Co-authored-by: csmoe <[email protected]> | |||||
| * | | parse minus before number literal | csmoe | 2018-12-30 | 3 | -33/+51 | |
| | | | ||||||
* | | | Merge #374 | bors[bot] | 2018-12-30 | 1 | -4/+33 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | 374: add semi after break&continue r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | semies after break&continue | Aleksey Kladov | 2018-12-30 | 1 | -4/+33 | |
| | | | ||||||
* | | | Merge #365 | bors[bot] | 2018-12-30 | 2 | -112/+278 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 365: implement struct shorthand initialization diagnostic r=matklad a=gfreezy Co-authored-by: gfreezy <[email protected]> | |||||
| * | | avoid allocating an unnecessary intermediate vector & not traverse multiple ↵ | gfreezy | 2018-12-30 | 1 | -62/+72 | |
| | | | | | | | | | | | | times | |||||
| * | | implement struct shorthand initialization diagnostic | gfreezy | 2018-12-30 | 2 | -112/+268 | |
| | | | ||||||
* | | | add `;` to last return in block | Aleksey Kladov | 2018-12-30 | 2 | -15/+46 | |
| | | | ||||||
* | | | don't add () in use items | Aleksey Kladov | 2018-12-30 | 3 | -10/+32 | |
| | | | ||||||
* | | | use completion context when creating completion | Aleksey Kladov | 2018-12-30 | 3 | -8/+8 | |
| | | | ||||||
* | | | remove runtime dependency on tools | Aleksey Kladov | 2018-12-30 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge #358 | bors[bot] | 2018-12-30 | 8 | -4/+103 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 358: Add support for formatting entire document with rustfmt r=matklad a=aleksanb Attempting to format a document when rustfmt isn't installed will result in an error being returned to the frontend. An alternative implementation would be returning zero replacements. Part of https://github.com/rust-analyzer/rust-analyzer/issues/160. Co-authored-by: Aleksander Vognild Burkow <[email protected]> | |||||
| * | | | Simplify failure bail code | Aleksander Vognild Burkow | 2018-12-29 | 1 | -3/+4 | |
| | | | | ||||||
| * | | | Install rustfmt in rustfmt test | Aleksander Vognild Burkow | 2018-12-29 | 3 | -1/+4 | |
| | | | | ||||||
| * | | | Add better error message for Command failure | Aleksander Vognild Burkow | 2018-12-29 | 1 | -1/+4 | |
| | | | | ||||||
| * | | | Add support for formatting entire document with rustfmt | Aleksander Vognild Burkow | 2018-12-29 | 6 | -3/+95 | |
| |/ / | | | | | | | | | | | | | | | | Attempting to format a document when rustfmt isn't installed will result in an error being returned to the frontend. An alternative implementation would be returning zero replacements. | |||||
* | | | add paramthesis when completing functions | Aleksey Kladov | 2018-12-30 | 2 | -10/+39 | |
| | | | ||||||
* | | | Reuse has_rs_extension in io.rs | DJMcNab | 2018-12-29 | 1 | -2/+2 | |
| | | | ||||||
* | | | Remove some unnecessary unwraps by using the `Result::ok` | DJMcNab | 2018-12-29 | 1 | -6/+2 | |
| | | | | | | | | | | | | combinatoric | |||||
* | | | Fix instance of uneeded brackets in use_statement (thanks to #333) | DJMcNab | 2018-12-29 | 1 | -1/+1 | |
| | | | ||||||
* | | | Improve comment contents | DJMcNab | 2018-12-29 | 1 | -1/+3 | |
| | | | ||||||
* | | | Fix a switched line in a comment | DJMcNab | 2018-12-29 | 1 | -1/+1 | |
| | | | ||||||
* | | | Add more docs in ty.rs | Florian Diebold | 2018-12-29 | 3 | -36/+61 | |
|/ / | | | | | | | | | Also get rid of the indirection through query_definitions for the type-related queries. | |||||
* | | Merge #356 | bors[bot] | 2018-12-29 | 4 | -2/+533 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 356: Fix a bug in char literal validation discovered through fuzzing r=matklad a=DJMcNab We also add a Cargo.lock to the fuzzing directory, as that isn't gitignored automatically, so I imagine it should be committed. Co-authored-by: DJMcNab <[email protected]> | |||||
| * | | Add fuzz failure to the fuzz-failures directory | DJMcNab | 2018-12-29 | 1 | -0/+1 | |
| | | | ||||||
| * | | Fix a fuzzing bug and add Cargo.lock to the fuzzing directory | DJMcNab | 2018-12-29 | 3 | -2/+532 | |
| | | | ||||||
* | | | Missing return type means unit, not unknown | Florian Diebold | 2018-12-29 | 2 | -3/+7 | |
| | | | ||||||
* | | | Implement type variables | Florian Diebold | 2018-12-29 | 7 | -118/+385 | |
|/ / | | | | | | | | | | | | | | | | | This will really become necessary when we implement generics, but even now, it allows us to reason 'backwards' to infer types of expressions that we didn't understand for some reason. We use ena, the union-find implementation extracted from rustc, to keep track of type variables. | |||||
* | | nameify structs&enums | Aleksey Kladov | 2018-12-28 | 5 | -57/+43 | |
| | | ||||||
* | | completion for enum variants | Aleksey Kladov | 2018-12-28 | 4 | -9/+36 | |
| | | ||||||
* | | simplify | Aleksey Kladov | 2018-12-28 | 1 | -9/+4 | |
| | | ||||||
* | | extend selection works with macros | Aleksey Kladov | 2018-12-28 | 3 | -4/+68 | |
| | | ||||||
* | | Merge #350 | bors[bot] | 2018-12-28 | 11 | -38/+273 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 350: Super simple macro support r=matklad a=matklad Super simple support for macros, mostly for figuring out how to fit them into the current architecture. Expansion is hard-coded and string based (mid-term, we should try to copy-paste macro-by-example expander from rustc). Ideally, we should handle * highlighting inside the macro (done) * extend selection inside the macro * completion inside the macro * indexing structs, produced by the macro Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | move macro to a separate module | Aleksey Kladov | 2018-12-28 | 3 | -60/+67 | |
| | | | ||||||
| * | | switch to FileRange | Aleksey Kladov | 2018-12-28 | 4 | -15/+37 | |
| | | | ||||||
| * | | introduce FileRange | Aleksey Kladov | 2018-12-28 | 3 | -19/+29 | |
| | | | ||||||
| * | | highlight macro idents | Aleksey Kladov | 2018-12-28 | 2 | -4/+33 | |
| | | | ||||||
| * | | super simplistic macro expansion | Aleksey Kladov | 2018-12-28 | 3 | -2/+113 | |
| | | | ||||||
| * | | add macro-call node | Aleksey Kladov | 2018-12-28 | 3 | -2/+46 | |
| | | | ||||||
| * | | move highlightning to a separate file | Aleksey Kladov | 2018-12-28 | 2 | -2/+14 | |
| | | | ||||||
* | | | :arrow_up: salsa | Aleksey Kladov | 2018-12-28 | 3 | -3/+3 | |
| | | | ||||||
* | | | Bump serde from 1.0.82 to 1.0.83 | dependabot[bot] | 2018-12-28 | 2 | -2/+2 | |
|/ / | | | | | | | | | | | | | Bumps [serde](https://github.com/serde-rs/serde) from 1.0.82 to 1.0.83. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.82...v1.0.83) Signed-off-by: dependabot[bot] <[email protected]> | |||||
* | | simplify | Aleksey Kladov | 2018-12-27 | 1 | -6/+1 | |
| | | ||||||
* | | dead code | Aleksey Kladov | 2018-12-27 | 2 | -21/+1 | |
| | | ||||||
* | | remove FnId | Aleksey Kladov | 2018-12-27 | 6 | -40/+21 | |
| | | ||||||
* | | use names everywhere | Aleksey Kladov | 2018-12-27 | 3 | -30/+51 | |
| | | ||||||
* | | dont leak Name details in testing | Aleksey Kladov | 2018-12-27 | 2 | -19/+62 | |
| | | ||||||
* | | introduce known names | Aleksey Kladov | 2018-12-27 | 4 | -29/+71 | |
| | |