Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add support of impl block for doctest into runnables | Benjamin Coenen | 2021-05-24 | 1 | -1/+71 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | Correctly resolve crate name in use paths when import shadows itself | Lukas Tobias Wirth | 2021-05-23 | 1 | -0/+20 |
| | |||||
* | Minor: fix comment style | Aleksey Kladov | 2021-05-23 | 1 | -1/+3 |
| | | | | See https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/style.md#documentation | ||||
* | Give ‘unsafe’ semantic token modifier to unsafe traits | Aramis Razzaghipour | 2021-05-23 | 4 | -3/+16 |
| | |||||
* | Add more docs | Aleksey Kladov | 2021-05-22 | 2 | -3/+5 |
| | |||||
* | Add a "Debug ItemTree" LSP request | Jonas Schievink | 2021-05-21 | 2 | -0/+21 |
| | |||||
* | Fix prepare_rename failing for modules | Lukas Tobias Wirth | 2021-05-19 | 1 | -5/+7 |
| | |||||
* | Add pub mod option for UnlinkedFile | rainy-me | 2021-05-18 | 12 | -121/+158 |
| | |||||
* | fix: don't add extra whitespace around fields | Aleksey Kladov | 2021-05-17 | 1 | -0/+25 |
| | | | | closes #8785 | ||||
* | minor: add missing tests | Aleksey Kladov | 2021-05-17 | 2 | -0/+52 |
| | |||||
* | internal: scalable module structure for fixits | Aleksey Kladov | 2021-05-17 | 8 | -766/+693 |
| | |||||
* | minor: extract fix to file | Aleksey Kladov | 2021-05-17 | 2 | -44/+196 |
| | |||||
* | Merge #8853 | bors[bot] | 2021-05-16 | 2 | -4/+4 |
|\ | | | | | | | | | | | | | | | | | 8853: Tag Self in impls as a TypeAlias r=matklad a=Veykril bors r+ Fixes #4398 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Tag Self in impls as a TypeAlias | Lukas Wirth | 2021-05-16 | 2 | -4/+4 |
| | | |||||
* | | internal: use mutable syntax trees when filling fields | Aleksey Kladov | 2021-05-16 | 2 | -6/+7 |
| | | |||||
* | | Merge #8813 | bors[bot] | 2021-05-16 | 2 | -2/+2 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8813: Get some more array lengths! r=lf- a=lf- This is built on #8799 and thus contains its changes. I'll rebase it onto master when that one gets merged. It adds support for r-a understanding the length of: * `let a: [u8; 2] = ...` * `let a = b"aaa"` * `let a = [0u8; 4]` I have added support for getting the values of byte strings, which was not previously there. I am least confident in the correctness of this part and it probably needs some more tests, as we currently have only one test that exercised that part (!). Fixes #2922. Co-authored-by: Jade <[email protected]> | ||||
| * | | Support length for ByteStrings | Jade | 2021-05-13 | 2 | -2/+2 |
| | | | | | | | | | | | | I am not confident that my added byte string parsing is right. | ||||
* | | | Attach comments to ast::Impl | Lukas Wirth | 2021-05-15 | 2 | -1/+25 |
| | | | |||||
* | | | simplify | Lukas Wirth | 2021-05-15 | 2 | -10/+8 |
| |/ |/| | |||||
* | | Address comments | hi-rustin | 2021-05-14 | 3 | -3/+25 |
| | | |||||
* | | Apply async semantic token modifier to async/await keywords | hi-rustin | 2021-05-14 | 2 | -0/+11 |
| | | | | | | | | Only async semantic token modifier | ||||
* | | Merge #8823 | bors[bot] | 2021-05-13 | 1 | -4/+4 |
|\ \ | |/ |/| | | | | | | | | | | | 8823: Enable OPTION::ENABLE_TASKLISTS in pulldown_cmark r=Veykril a=Veykril Closes #8821 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Enable OPTION::ENABLE_TASKLISTS in pulldown_cmark | Lukas Wirth | 2021-05-13 | 1 | -4/+4 |
| | | |||||
* | | Merge #8799 | bors[bot] | 2021-05-12 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8799: Add basic support for array lengths in types r=flodiebold a=lf- This recognizes `let a = [1u8, 2, 3]` as having type `[u8; 3]` instead of the previous `[u8; _]`. Byte strings and `[0u8; 2]` kinds of range array declarations are unsupported as before. I don't know why a bunch of our rustc tests had single quotes inside strings un-escaped by `UPDATE_EXPECT=1 cargo t`, but I don't think it's bad? Maybe something in a nightly? Co-authored-by: Jade <[email protected]> | ||||
| * | | Add basic support for array lengths in types | Jade | 2021-05-11 | 1 | -1/+1 |
| |/ | | | | | | | | | | | | | | | | | | | This recognizes `let a = [1u8, 2, 3]` as having type `[u8; 3]` instead of the previous `[u8; _]`. Byte strings and `[0u8; 2]` kinds of range array declarations are unsupported as before. I don't know why a bunch of our rustc tests had single quotes inside strings un-escaped by `UPDATE_EXPECT=1 cargo t`, but I don't think it's bad? Maybe something in a nightly? | ||||
* | | Move `dot` invocation to rust-analyzer crate | Jonas Schievink | 2021-05-11 | 2 | -23/+3 |
| | | |||||
* | | Better node label/shapes | Jonas Schievink | 2021-05-11 | 1 | -3/+11 |
| | | |||||
* | | Only include workspace crates | Jonas Schievink | 2021-05-11 | 1 | -8/+30 |
| | | |||||
* | | Update crates/ide/src/view_crate_graph.rs | Jonas Schievink | 2021-05-11 | 1 | -2/+2 |
| | | | | | | Co-authored-by: bjorn3 <[email protected]> | ||||
* | | Distinguish crates with identical name | Jonas Schievink | 2021-05-11 | 1 | -1/+1 |
| | | |||||
* | | Allow viewing the crate graph in a webview | Jonas Schievink | 2021-05-11 | 3 | -0/+87 |
|/ | |||||
* | feat: auto-indent use tree lists | Jonas Schievink | 2021-05-10 | 1 | -0/+115 |
| | |||||
* | feat: auto-insert `}` when typing `{` in use item | Jonas Schievink | 2021-05-09 | 1 | -19/+131 |
| | |||||
* | minor: fix test style | Aleksey Kladov | 2021-05-09 | 1 | -12/+0 |
| | |||||
* | fix: join lines doesn't add space before closing quote | Aleksey Kladov | 2021-05-09 | 1 | -0/+30 |
| | |||||
* | fix: join lines doesn't add space before closing quote | Aleksey Kladov | 2021-05-09 | 1 | -9/+32 |
| | |||||
* | Don't handle Self as a usage for TraitDefs | Lukas Wirth | 2021-05-08 | 1 | -22/+27 |
| | |||||
* | Correctly support SelfType when searching for usages | Lukas Wirth | 2021-05-08 | 2 | -3/+69 |
| | |||||
* | fix: use raw idents in `make::name{_ref}` with keywords | Jonas Schievink | 2021-05-07 | 1 | -0/+20 |
| | |||||
* | Merge #8745 | bors[bot] | 2021-05-06 | 1 | -0/+12 |
|\ | | | | | | | | | | | | | | | | | 8745: Support goto_type_definition for types r=matklad a=Veykril I'm unsure if the approach of lowering an `ast::Type` to a `hir::Type` is a good idea, it seems fine to me at least. Fixes #2882 Co-authored-by: Lukas Tobias Wirth <[email protected]> | ||||
| * | Support goto_type_definition for types | Lukas Tobias Wirth | 2021-05-06 | 1 | -0/+12 |
| | | |||||
* | | Merge #8674 | bors[bot] | 2021-05-05 | 1 | -0/+45 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8674: fix for #8664: Emit folding ranges for multi-line where clauses r=matklad a=m5tfi #8664 I added a test that assert folding multi-line where clauses while leaving single lined one. Please, let me know if the code needs further improvements. Co-authored-by: m5tfi <[email protected]> | ||||
| * | | remove unneeded `visited_where_clauses` | m5tfi | 2021-05-05 | 1 | -11/+3 |
| | | | |||||
| * | | add folding for where clauses | m5tfi | 2021-04-30 | 1 | -0/+53 |
| | | | |||||
* | | | simplify | Lukas Tobias Wirth | 2021-05-05 | 1 | -3/+1 |
| |/ |/| | |||||
* | | Merge #8719 | bors[bot] | 2021-05-04 | 2 | -0/+4 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 8719: Fix block comment intra doc link injection ranges r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Tobias Wirth <[email protected]> | ||||
| * | | Fix block comment intra doc link injection ranges | Lukas Tobias Wirth | 2021-05-04 | 2 | -0/+4 |
| | | | |||||
* | | | Small fixes | Kirill Bulatov | 2021-05-03 | 1 | -1/+1 |
| | | | |||||
* | | | Tests added | Kirill Bulatov | 2021-05-03 | 1 | -1/+0 |
| | | | |||||
* | | | Add docs and use better naming | Kirill Bulatov | 2021-05-03 | 1 | -1/+3 |
| | | |