Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check for rust doc code attributes like rustdoc does | Lukas Wirth | 2021-04-19 | 2 | -23/+3 |
| | |||||
* | Don't require all doc fences to be valid for identifying rust code | Lukas Wirth | 2021-04-19 | 1 | -1/+3 |
| | |||||
* | Merge #8540 | bors[bot] | 2021-04-19 | 1 | -0/+6 |
|\ | | | | | | | | | | | | | | | | | | | 8540: Prevent being able to rename items that are not part of the workspace r=Veykril a=Veykril This change causes renames that happen on items coming from crates outside the workspace to fail. I believe this should be the right approach, but usage of cargo's workspace might not be entirely correct for preventing these kinds of refactoring from touching things they shouldn't. I'm not entirely sure? cc #6623, this is one of the bigger footguns when it comes to refactoring, especially in combination with import aliases people tend to rename items coming from a crates dependency which this prevents. Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Prevent being able to rename items that are not part of the workspace | Lukas Wirth | 2021-04-18 | 1 | -0/+6 |
| | | |||||
* | | Accept `E<error_number>` notation in doctests | Chayim Refael Friedman | 2021-04-18 | 1 | -2/+8 |
| | | | | | | | | | | | | | | ```compile_fail,E0000 ``` The code was stolen from rustdoc at https://github.com/rust-lang/rust/blob/392ba2ba1a7d6c542d2459fb8133bebf62a4a423/src/librustdoc/html/markdown.rs#L866-L867 | ||||
* | | Include path in `unresolved-macro-call` diagnostic | Jonas Schievink | 2021-04-16 | 1 | -1/+1 |
|/ | |||||
* | Move cursor position when using item movers | Jonas Schievink | 2021-04-13 | 1 | -32/+68 |
| | |||||
* | internal: follow test style guide in typing.rs | Jonas Schievink | 2021-04-13 | 1 | -96/+104 |
| | |||||
* | Merge #8354 | bors[bot] | 2021-04-13 | 5 | -17/+72 |
|\ | | | | | | | | | | | | | | | 8354: Distinguishing between different operators in semantic highlighting r=matklad a=chetankhilosiya Co-authored-by: Chetan Khilosiya <[email protected]> | ||||
| * | 8279: Fix the not operator use and test case fix. | Chetan Khilosiya | 2021-04-08 | 3 | -10/+3 |
| | | |||||
| * | 8279: Added initial implementation for | Chetan Khilosiya | 2021-04-08 | 3 | -15/+77 |
| | | | | | | | | Operator semantic highlighting. | ||||
* | | Merge #8489 | bors[bot] | 2021-04-13 | 1 | -11/+199 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8489: Indent block expressions on enter r=matklad a=jonas-schievink This improves on https://github.com/rust-analyzer/rust-analyzer/pull/8388 by also indenting the created block expression on enter. ![on enter](https://user-images.githubusercontent.com/1786438/114444123-cb38d600-9bce-11eb-8af2-8e8d1c0f9908.gif) Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | | Add a cov_mark | Jonas Schievink | 2021-04-12 | 1 | -0/+2 |
| | | | |||||
| * | | Simplify multiline check | Jonas Schievink | 2021-04-12 | 1 | -18/+4 |
| | | | |||||
| * | | Indent block expressions on enter | Jonas Schievink | 2021-04-12 | 1 | -12/+212 |
| | | | |||||
* | | | Merge #8500 | bors[bot] | 2021-04-13 | 1 | -81/+17 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8500: internal: fix flakiness of accidentally quadratic test r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | | internal: fix flakiness of accidentally quadratic test | Aleksey Kladov | 2021-04-13 | 1 | -81/+17 |
| | | | | |||||
* | | | | internal: don't use `#[should_panic]` for tests | Aleksey Kladov | 2021-04-13 | 1 | -8/+10 |
|/ / / | |||||
* | | | feat: improve performance by delaying computation of fixes for diagnostics | Aleksey Kladov | 2021-04-13 | 4 | -38/+70 |
| | | | |||||
* | | | Ensure that listing&resolving code actions use the same set of actions | Aleksey Kladov | 2021-04-13 | 1 | -0/+28 |
| | | | |||||
* | | | Fix typo: liner -> linear | Jakub Kądziołka | 2021-04-12 | 1 | -1/+1 |
|/ / | | | | | :see_no_evil: | ||||
* | | internal: prepare for lazy diagnostics | Aleksey Kladov | 2021-04-12 | 5 | -66/+83 |
| | | |||||
* | | Support macros in pattern position | Jonas Schievink | 2021-04-11 | 1 | -0/+26 |
| | | |||||
* | | Let's try testing for "is not quadratic" condition | Aleksey Kladov | 2021-04-10 | 1 | -0/+96 |
| | | |||||
* | | Shrink `unlinked-file` diagnostic to 3 characters | Jonas Schievink | 2021-04-09 | 1 | -7/+9 |
| | | |||||
* | | Merge #8429 | bors[bot] | 2021-04-09 | 1 | -0/+20 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 8429: 8425: Added documentation for on enter covering //! doc comments. r=jonas-schievink a=chetankhilosiya Also added passing test case. Co-authored-by: Chetan Khilosiya <[email protected]> | ||||
| * | | 8425: Added documentation for on enter covering //! doc comments. | Chetan Khilosiya | 2021-04-08 | 1 | -0/+20 |
| |/ | | | | | | | Also added passing test case. | ||||
* / | 8024: Added the trait modifier for assoc types. | Chetan Khilosiya | 2021-04-08 | 1 | -2/+12 |
|/ | |||||
* | Merge #8421 | bors[bot] | 2021-04-08 | 1 | -13/+30 |
|\ | | | | | | | | | | | | | | | 8421: Reduce allocations in "Expand macro" formatter r=edwin0cheng a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
| * | Reduce allocations in Expand macro | Laurențiu Nicola | 2021-04-08 | 1 | -13/+30 |
| | | |||||
* | | Emit folding ranges for multiline array literals | Lukas Wirth | 2021-04-07 | 1 | -0/+17 |
| | | |||||
* | | Document `}` insertion | Jonas Schievink | 2021-04-07 | 1 | -0/+1 |
| | | |||||
* | | Make better use of `stdx::always` | Jonas Schievink | 2021-04-07 | 1 | -7/+21 |
| | | |||||
* | | Rewrite, reparse modified file | Jonas Schievink | 2021-04-07 | 1 | -49/+114 |
| | | |||||
* | | simplify | Jonas Schievink | 2021-04-07 | 1 | -8/+6 |
| | | |||||
* | | Use stdx::always | Jonas Schievink | 2021-04-07 | 1 | -5/+5 |
| | | |||||
* | | Complete braces more aggressively | Jonas Schievink | 2021-04-07 | 1 | -20/+35 |
| | | |||||
* | | Autoclose blocks when typing `{` | Jonas Schievink | 2021-04-07 | 1 | -1/+46 |
|/ | |||||
* | Add space after lifetime | Emmanuel Thompson | 2021-04-07 | 1 | -0/+3 |
| | | | | In macro expansion, this lead to invalid syntax | ||||
* | Merge #8245 | bors[bot] | 2021-04-05 | 6 | -155/+167 |
|\ | | | | | | | | | | | | | | | | | | | 8245: Properly resolve intra doc links in hover and goto_definition r=matklad a=Veykril Unfortunately involves a bit of weird workarounds due to pulldown_cmark's incorrect lifetimes on `BrokenLinkCallback`... I should probably open an issue there asking for the fixes to be pushed to a release since they already exist in the repo for quite some time it seems. Fixes #8258, Fixes #8238 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Replace Range<usize> usage with TextRange | Lukas Wirth | 2021-03-30 | 1 | -4/+13 |
| | | |||||
| * | Use new new docs string source mapping in goto_def and hover | Lukas Wirth | 2021-03-30 | 4 | -119/+73 |
| | | |||||
| * | Implement basic Documentation source to syntax range mapping | Lukas Wirth | 2021-03-30 | 4 | -34/+42 |
| | | |||||
| * | Properly resolve intra doc links in hover and goto_definition | Lukas Wirth | 2021-03-30 | 3 | -39/+80 |
| | | |||||
* | | Add and start using TraitRef and ProjectionTy builders | Florian Diebold | 2021-04-04 | 1 | -1/+1 |
| | | |||||
* | | Fix joinLines panic if run on the empty last line | Edwin Cheng | 2021-04-03 | 1 | -2/+16 |
| | | |||||
* | | Only populate prelude for crate-level DefMaps | Jonas Schievink | 2021-04-02 | 1 | -0/+42 |
| | | |||||
* | | Merge #8283 | bors[bot] | 2021-04-01 | 1 | -0/+63 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 8283: Resolve associated types r=flodiebold a=Veykril Prior we were only resolving paths until the first type was found, then discarding the result if the path wasn't fully consumed. That of course causes associated types to not resolve. Fixes #5003 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | | Resolve associated types with type anchors | Lukas Wirth | 2021-04-01 | 1 | -1/+22 |
| | | | |||||
| * | | Resolve associated types | Lukas Wirth | 2021-04-01 | 1 | -0/+42 |
| | | |