Skip to content

Releases: rust-lang/rust-analyzer

2020-12-28

28 Dec 10:47
1d53075

Choose a tag to compare

Merge #7050

7050: Ignore third punct when matching for 2-composite punct in mbe r=jonas-schievink a=edwin0cheng

Fixes #6692



Co-authored-by: Edwin Cheng <[email protected]>

2020-12-21

21 Dec 13:48

Choose a tag to compare

Use patched version of lsp-types to stay compatible with code 1.51

2020-12-14

14 Dec 11:28
dbd0cfb

Choose a tag to compare

Merge #6858

6858: Docs: Explain manual installation in VS Code r=lnicola a=cauthmann

same as https://github.com/rust-analyzer/rust-analyzer.github.io/pull/81 , just against the correct repository this time

Co-authored-by: Christian Authmann <[email protected]>

2020-12-07

07 Dec 11:57
a0fa522

Choose a tag to compare

Merge #6733

6733: Update attributes completion list r=jonas-schievink a=Veykril

Might be nice to have them grouped for readability/maintainability similar to how the [reference](https://doc.rust-lang.org/reference/attributes.html#built-in-attributes-index) does it but that would require the use of a `OnceCell` for sorting the entries back after construction.

Co-authored-by: Lukas Wirth <[email protected]>

2020-11-30

30 Nov 10:43
ac30710

Choose a tag to compare

Merge #6665

6665: Support self in reference search r=matklad a=Veykril

The approach here is simply checking the descendants of the function body for `PathExpr` then checking whether it only contains a single `self` `PathSegment`, this is to prevent us from picking up `self` tokens from local `UseTree`s.

Co-authored-by: Lukas Wirth <[email protected]>

2020-11-23

23 Nov 08:53
cadf0e9

Choose a tag to compare

Merge #6598

6598: Textmate grammar: ensure word boundary after `true` r=dustypomerleau a=dustypomerleau

Adding round brackets ensures word boundaries on both sides of booleans (reported in https://github.com/dustypomerleau/rust-syntax/issues/7).

Co-authored-by: Dusty Pomerleau <[email protected]>

2020-11-16

16 Nov 11:22
e8c8039

Choose a tag to compare

Merge #6544

6544: add suggestion ..Default::default() for remaining struct fields in a constructor r=bnjjj a=bnjjj

I'm not sure I should import `assists` crate inside `completions`, maybe we should move out `FamousDefs` from `assists` ? Let me know :) 

close #6492

Signed-off-by: Benjamin Coenen <[email protected]>

Co-authored-by: Benjamin Coenen <[email protected]>

2020-11-09

09 Nov 10:32
945900b

Choose a tag to compare

Merge #6497

6497: vscode: fix tmGrammar issues around non-controlflow keywords r=dustypomerleau a=cynecx

Addresses some of the issues mentioned here: https://github.com/dustypomerleau/rust-syntax/issues/5.
In sync with https://github.com/dustypomerleau/rust-syntax/issues/6.

Co-authored-by: cynecx <[email protected]>

2020-11-02

02 Nov 13:24
86d3b78

Choose a tag to compare

Merge #6423

6423: cargo update r=kjeremy a=kjeremy



Co-authored-by: Jeremy Kolb <[email protected]>

2020-10-26

26 Oct 12:34
eae54b5

Choose a tag to compare

Merge #6357

6357: Don't keep parens around with remove-dbg r=SomeoneToIgnore a=Veykril

Fixes #6355

~~This causes remove-dbg to not keep parentheses when it comes to ranges though due to ranges not having `DOT2` and `DOT2EQ` tokens but having two `DOT` tokens inside of macro invocations.~~

Co-authored-by: Lukas Wirth <[email protected]>