Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Slightly more fluent API | Aleksey Kladov | 2020-01-15 | 2 | -14/+14 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-01-15 | 1 | -5/+8 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-01-15 | 1 | -7/+5 | |
| | ||||||
* | Some clippy lints | kjeremy | 2020-01-13 | 1 | -2/+2 | |
| | ||||||
* | Qualify paths in 'fill match arms' assist | Florian Diebold | 2020-01-12 | 1 | -2/+3 | |
| | ||||||
* | Fix ordering problem between qualifying paths and substituting params | Florian Diebold | 2020-01-11 | 2 | -6/+13 | |
| | ||||||
* | Handle type args | Florian Diebold | 2020-01-11 | 1 | -0/+7 | |
| | ||||||
* | Basic DocumentHighlightKind support for assignments | Jeremy Kolb | 2020-01-10 | 1 | -0/+1 | |
| | ||||||
* | Improve const generics parsing | Michael Chesser | 2020-01-06 | 1 | -0/+33 | |
| | | | | | - Handle const generics type args - Fix issue with const generic as first parameter in trait impl | |||||
* | BinOp helper to detect assignment | Jeremy Kolb | 2020-01-04 | 1 | -0/+18 | |
| | ||||||
* | Switch ast declaration from ron to a macro | Aleksey Kladov | 2020-01-03 | 1 | -1484/+1476 | |
| | ||||||
* | Collect visibility of items during nameres | Florian Diebold | 2019-12-26 | 1 | -0/+3 | |
| | ||||||
* | Add infrastructure for visibility on syntax and hir_def level | Florian Diebold | 2019-12-26 | 1 | -0/+29 | |
| | ||||||
* | Remove AsyncOwner | Edwin Cheng | 2019-12-24 | 3 | -8/+4 | |
| | ||||||
* | Implement infer await from async func | Edwin Cheng | 2019-12-24 | 2 | -0/+8 | |
| | ||||||
* | Merge #2641 | bors[bot] | 2019-12-22 | 1 | -0/+30 | |
|\ | | | | | | | | | | | | | | | | | | | | | 2641: Parse const generics r=matklad a=roblabla Adds very primitive support for parsing const generics (`const IDENT: TY`) so that rust-analyzer stops complaining about the syntax being invalid. Fixes #1574 Fixes #2281 Co-authored-by: roblabla <[email protected]> | |||||
| * | Parse const generics | roblabla | 2019-12-22 | 1 | -0/+30 | |
| | | | | | | | | | | Fixes #1574 Fixes #2281 | |||||
* | | Clippy lints | kjeremy | 2019-12-20 | 1 | -2/+1 | |
| | | ||||||
* | | Handle closure return types | Florian Diebold | 2019-12-20 | 1 | -0/+3 | |
| | | | | | | | | Fixes #2547. | |||||
* | | Use unwrap_or_default | kjeremy | 2019-12-20 | 1 | -2/+2 | |
|/ | ||||||
* | Add `ModuleItemsOwner` to `Block` | ice1000 | 2019-12-03 | 1 | -0/+1 | |
| | ||||||
* | Fix hir for ast::UnionDef | Aleksey Kladov | 2019-11-25 | 2 | -15/+24 | |
| | ||||||
* | Introduce dedicated AST node for union | Aleksey Kladov | 2019-11-25 | 1 | -0/+28 | |
| | | | | | | | | | | Although structs and unions have the same syntax and differ only in the keyword, re-using the single syntax node for both of them leads to confusion in practice, and propagates further down the hir in an upleasent way. Moreover, static and consts also share syntax, but we use different nodes for them. | |||||
* | Merge #2343 | bors[bot] | 2019-11-24 | 3 | -4/+25 | |
|\ | | | | | | | | | | | | | | | | | | | 2343: implement assist invert_if r=matklad a=bravomikekilo fix [issue 2219 invert if condition](https://github.com/rust-analyzer/rust-analyzer/issues/2219) I put the assist cursor range to `if` of the if expression, because both condition and body will be replaced. Is there any way to replace them without cover the cursor position? @matklad Co-authored-by: bravomikekilo <[email protected]> | |||||
| * | do refact and fix some issue | bravomikekilo | 2019-11-24 | 3 | -4/+25 | |
| | | ||||||
* | | Uniformalize naming | Aleksey Kladov | 2019-11-22 | 1 | -2/+2 | |
|/ | ||||||
* | Allow non-path default type parameters | Aleksey Kladov | 2019-11-20 | 2 | -8/+5 | |
| | ||||||
* | :arrow_up: rowan | Aleksey Kladov | 2019-11-19 | 1 | -1/+1 | |
| | ||||||
* | Remove the custom impl of AttrsOwner for ImplItem | DJMcNab | 2019-11-18 | 2 | -11/+2 | |
| | | | | | | The default impl should have the same behaviour, and it can be generated by codegen. See also `ModuleItem` and `NominalDef` | |||||
* | Add ast for plain and raw string literals | Aleksey Kladov | 2019-11-16 | 1 | -10/+85 | |
| | ||||||
* | Attempt to implement typed accessors | Geoffry Song | 2019-11-15 | 1 | -0/+46 | |
| | ||||||
* | Make make:: builders slightly more convenient | Aleksey Kladov | 2019-11-13 | 2 | -9/+12 | |
| | ||||||
* | Use strongly-typed ast building for early-return assist | Aleksey Kladov | 2019-11-13 | 1 | -21/+31 | |
| | ||||||
* | Merge #2149 | bors[bot] | 2019-11-04 | 1 | -0/+17 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 2149: Handle IfLet in convert_to_guarded_return. r=matklad a=krk Fixes https://github.com/rust-analyzer/rust-analyzer/issues/2124 I could not move the cursor position out of `let`: `le<|>t` vs `let<|>`. Also, please suggest extra test cases. Co-authored-by: krk <[email protected]> | |||||
| * | Support paths other than "Some". | krk | 2019-11-01 | 1 | -2/+3 | |
| | | ||||||
| * | Handle IfLet in convert_to_guarded_return. | krk | 2019-10-31 | 1 | -0/+16 | |
| | | ||||||
* | | traits => match_ast! | kjeremy | 2019-10-30 | 1 | -5/+7 | |
|/ | ||||||
* | Some clippy fixes | kjeremy | 2019-10-30 | 1 | -2/+2 | |
| | ||||||
* | Preserve whitespace at the end of doc comments | Jeremy Kolb | 2019-10-27 | 1 | -2/+5 | |
| | | | | | | | | Whitespace can have special meaning in markdown. For instance ending a line with three spaces will render a new line. Note that this behavior diverges from RLS. Fixes #1997 | |||||
* | use correct spacing for enum pattern | Aleksey Kladov | 2019-10-26 | 1 | -1/+1 | |
| | ||||||
* | Adds "replace with guarded return" assist | Mikhail Modin | 2019-10-20 | 2 | -0/+36 | |
| | ||||||
* | add syntax-tree based indents | Aleksey Kladov | 2019-10-12 | 2 | -6/+91 | |
| | ||||||
* | Pass attributes as token tree to DefCollector | uHOOCCOOHu | 2019-10-02 | 1 | -0/+1 | |
| | ||||||
* | Merge branch 'master' into feature/issue/1856 | Alexander Andreev | 2019-09-30 | 4 | -55/+298 | |
|\ | | | | | | | | | # Conflicts: # crates/ra_assists/src/ast_editor.rs | |||||
| * | Fixes | uHOOCCOOHu | 2019-09-30 | 1 | -9/+0 | |
| | | ||||||
| * | Fix API of Attr | uHOOCCOOHu | 2019-09-30 | 3 | -46/+25 | |
| | | ||||||
| * | Parse correct AttrInput | uHOOCCOOHu | 2019-09-30 | 1 | -0/+44 | |
| | | ||||||
| * | cleanup editor | Aleksey Kladov | 2019-09-30 | 1 | -1/+4 | |
| | | ||||||
| * | remove ast_editor.rs | Aleksey Kladov | 2019-09-30 | 1 | -0/+12 | |
| | | ||||||
| * | move remove bounds to ast/edit.rs | Aleksey Kladov | 2019-09-30 | 1 | -1/+15 | |
| | |