Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add if let and while let postfix for Option and Result | Benjamin Coenen | 2020-05-10 | 1 | -38/+44 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | Merge branch 'master' of github.com:rust-analyzer/rust-analyzer into feat_4348 | Benjamin Coenen | 2020-05-10 | 3 | -10/+83 |
|\ | |||||
| * | Remove dbg | Edwin Cheng | 2020-05-10 | 1 | -1/+0 |
| | | |||||
| * | Hot fix panic for function_signature | Edwin Cheng | 2020-05-10 | 1 | -7/+13 |
| | | |||||
| * | Merge #4346 | bors[bot] | 2020-05-07 | 1 | -0/+62 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4346: Fix rename of enum variant visible from module r=matklad a=montekki Probably fixes #4237 It looks like the ref is found correctly in this case but it's visibility is not correctly determined. I took a stab at fixing that by adding an implementation of `HasVisibility` for `EnumVariant` so it works more or less the same way it does for struct fields. In other words, the `search_range` here does not contain the ref since it's not considered visible: https://github.com/rust-analyzer/rust-analyzer/blob/efd8e34c396f1524623a495e47111f1047cf2879/crates/ra_ide_db/src/search.rs#L209-L214 Before that I tried to populate `ItemScope` with visible enum variants but that ended up with breaking tests all over the place and also it looked illogical in the end: `ItemScope` is not populated with, say, public struct fields and the same should be true for `enum` variants. I've added two more or less identical tests: one for the case with a struct field rename and one for enum variant rename; the test for struct should probably be removed and the names should be changed. Co-authored-by: Fedor Sakharov <[email protected]> | ||||
| | * | Fix rename of enum variant visible from module | Fedor Sakharov | 2020-05-06 | 1 | -0/+62 |
| | | | |||||
| * | | Nicer API | Aleksey Kladov | 2020-05-07 | 1 | -1/+1 |
| | | | |||||
| * | | Rename AssitLabel -> Assist | Aleksey Kladov | 2020-05-07 | 1 | -3/+3 |
| | | | |||||
| * | | Fix panic in FunctionSignature | Aleksey Kladov | 2020-05-07 | 1 | -1/+7 |
| | | | |||||
* | | | add if let and while let postfix for Option and Result #4348 | Benjamin Coenen | 2020-05-07 | 1 | -1/+199 |
|/ / | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | | Merge #4316 #4351 | bors[bot] | 2020-05-06 | 1 | -4/+45 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4316: do not truncate display for hover r=matklad a=bnjjj close #4311 4351: Fix Windows server path r=matklad a=lnicola CC @Coder-256. Co-authored-by: Benjamin Coenen <[email protected]> Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
| * | | do not truncate display for hover | Benjamin Coenen | 2020-05-06 | 1 | -2/+2 |
| | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
| * | | do not truncate display for hover | Benjamin Coenen | 2020-05-06 | 1 | -1/+42 |
| | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
| * | | Merge branch 'master' of github.com:rust-analyzer/rust-analyzer into fix_4311 | Benjamin Coenen | 2020-05-06 | 14 | -89/+169 |
| |\ \ | |||||
| * | | | do not truncate display for hover #4311 | Benjamin Coenen | 2020-05-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | | | | Minor | Aleksey Kladov | 2020-05-06 | 1 | -1/+2 |
| | | | | |||||
* | | | | Rename | Aleksey Kladov | 2020-05-06 | 1 | -1/+1 |
| |_|/ |/| | | |||||
* | | | Use SourceChange for assists | Aleksey Kladov | 2020-05-06 | 2 | -49/+24 |
| | | | |||||
* | | | Lift SourceChange to the ra_ide_db | Aleksey Kladov | 2020-05-06 | 4 | -132/+11 |
| | | | |||||
* | | | Fix capitalization | Aleksey Kladov | 2020-05-06 | 1 | -2/+2 |
| |/ |/| | |||||
* | | Fixup tests | Aleksey Kladov | 2020-05-05 | 7 | -30/+58 |
| | | |||||
* | | Use more natural signature for Edit::apply | Aleksey Kladov | 2020-05-05 | 1 | -9/+15 |
| | | |||||
* | | Rename AtomTextEdit -> Indel | Aleksey Kladov | 2020-05-05 | 2 | -4/+4 |
| | | |||||
* | | Normalize naming of diagnostics | Aleksey Kladov | 2020-05-05 | 4 | -13/+15 |
| | | |||||
* | | Fix compilation | Aleksey Kladov | 2020-05-05 | 1 | -12/+7 |
| | | |||||
* | | Merge #4320 | bors[bot] | 2020-05-05 | 1 | -0/+43 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4320: add doctest support r=matklad a=bnjjj close #4317 preview: <img width="253" alt="Capture d’écran 2020-05-05 à 17 39 58" src="https://user-images.githubusercontent.com/5719034/81086040-45110b80-8ef8-11ea-9c05-79c6fe400fc3.png"> Co-authored-by: Benjamin Coenen <[email protected]> | ||||
| * | | add doctest support #4317 | Benjamin Coenen | 2020-05-05 | 1 | -0/+43 |
| |/ | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* / | Rename ImplItem to AssocItem | Edwin Cheng | 2020-05-05 | 2 | -21/+27 |
|/ | |||||
* | Remove false positive attr compleitons | Aleksey Kladov | 2020-05-04 | 2 | -4/+40 |
| | |||||
* | Qualify ast types | Aleksey Kladov | 2020-05-04 | 1 | -6/+5 |
| | |||||
* | Cleanup imports | Aleksey Kladov | 2020-05-04 | 1 | -4/+6 |
| | |||||
* | Remove unnecessary condition | Aleksey Kladov | 2020-05-04 | 1 | -17/+14 |
| | | | | | | No tests fail, and quick manual testing shows that there are no false-positives. In general, each completion contributor should be independent from the others. | ||||
* | Merge #4269 #4293 | bors[bot] | 2020-05-04 | 1 | -0/+33 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4269: add support of use alias semantic in definition r=matklad a=bnjjj close #4202 4293: no doctests for flycheck r=matklad a=matklad bors r+ 🤖 Co-authored-by: Benjamin Coenen <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | add support of use alias semantic in definition #4202 | Benjamin Coenen | 2020-05-02 | 1 | -1/+16 |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
| * | Merge branch 'master' of github.com:rust-analyzer/rust-analyzer into fix_4202 | Benjamin Coenen | 2020-05-02 | 11 | -67/+533 |
| |\ | |||||
| * | | wip | Benjamin Coenen | 2020-05-01 | 1 | -0/+18 |
| | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | | | Fix focus range for TypeParam | Aleksey Kladov | 2020-05-04 | 2 | -8/+12 |
| | | | | | | | | | | | | closes #4274 | ||||
* | | | Add test marks | Aleksey Kladov | 2020-05-04 | 2 | -5/+10 |
| | | | |||||
* | | | Code review fixes | Kirill Bulatov | 2020-05-04 | 1 | -8/+7 |
| | | | | | | | | | | | | Co-authored-by: Edwin Cheng <[email protected]> | ||||
* | | | Move snake case method to heck | Kirill Bulatov | 2020-05-03 | 1 | -15/+2 |
| | | | |||||
* | | | Omit name hints for enum names similar to parameter names | Kirill Bulatov | 2020-05-03 | 1 | -12/+52 |
| | | | |||||
* | | | Omit name hints for method names similar to parameter names | Kirill Bulatov | 2020-05-03 | 1 | -13/+25 |
| | | | |||||
* | | | Fix derive argument parsing | Kirill Bulatov | 2020-05-02 | 1 | -26/+40 |
| | | | |||||
* | | | Separate macros completion from other | Kirill Bulatov | 2020-05-02 | 1 | -15/+17 |
| | | | |||||
* | | | Propose custom derives in completion | Kirill Bulatov | 2020-05-02 | 1 | -8/+32 |
| | | | |||||
* | | | Complete standard derives | Kirill Bulatov | 2020-05-02 | 2 | -16/+245 |
| |/ |/| | |||||
* | | Introduce EffectExpr | Aleksey Kladov | 2020-05-02 | 4 | -46/+38 |
| | | |||||
* | | Test for unsafe trait | Diana | 2020-05-01 | 1 | -0/+11 |
| | | |||||
* | | Unsafe traits | Diana | 2020-05-01 | 1 | -1/+5 |
| | | |||||
* | | Fix a bunch of false-positives in join-lines | Aleksey Kladov | 2020-04-30 | 1 | -0/+66 |
| | |