Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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 | |
| | | | ||||||
* | | | Additional syntax highlighting screenshot in manual | Ayomide Bamidele | 2021-03-31 | 1 | -0/+1 | |
| | | | ||||||
* | | | Gif of "let = " typing assist | Ayomide Bamidele | 2021-03-31 | 1 | -0/+1 | |
| | | | ||||||
* | | | Gifs and screenshots for features in manual (syntax highlighting and typing) | Ayomide Bamidele | 2021-03-31 | 2 | -0/+4 | |
|/ / | ||||||
* | | Merge #8267 | bors[bot] | 2021-03-31 | 20 | -0/+37 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8267: Adding gifs and screenshots for features in manual r=matklad a=MozarellaMan For #6539 This includes most of gif or screenshot examples of most items in the "Features" header. With the exceptions of: - **On Typing Assists** - couldn't get it to work for a demo, I'm probably missing something? - **Structural search and replace** - looked to be already a visual example of the feature - **Workspace symbol** - wasn't sure how best to show this, all of the examples maybe? Also wasn't sure of the best code example to show it off - **Semantic Syntax Highlighting** - seemed obvious enough to not need a screenshot, but I could easily add this All the gifs/pngs are hosted in this [comment](https://github.com/rust-analyzer/rust-analyzer/issues/6539#issuecomment-809574840). Please let me know if any of them aren't suitable (and why) and I'll improve it! Or if you don't like the theme/font Co-authored-by: Ayomide Bamidele <[email protected]> | |||||
| * | | Gifs and screenshots for features in manual | Ayomide Bamidele | 2021-03-31 | 20 | -0/+37 | |
| | | | ||||||
* | | | Revert "8024: Added test case for highlighting trait items." | Chetan Khilosiya | 2021-03-30 | 2 | -104/+0 | |
| | | | | | | | | | | | | This reverts commit d7dcd41801b319f64f3ca2ed22735ab70092e491. | |||||
* | | | 8024: Fix for function name change. | Chetan Khilosiya | 2021-03-30 | 1 | -2/+2 | |
| | | | ||||||
* | | | 8024: Added test case for highlighting trait items. | Chetan Khilosiya | 2021-03-30 | 2 | -0/+104 | |
| | | | ||||||
* | | | 8024: Updated the implementation for trait modifier. | Chetan Khilosiya | 2021-03-30 | 6 | -20/+30 | |
| | | | | | | | | | | | | Fixed the test cases. | |||||
* | | | 8024: Added the trait modifier for methods | Chetan Khilosiya | 2021-03-30 | 2 | -1/+22 | |
| | | | | | | | | | | | | method in impls and method calls will have trait modifier. | |||||
* | | | Merge #8186 | bors[bot] | 2021-03-30 | 4 | -6/+6 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | 8186: Lower traits to `TraitRef` instead of `TypeRef` r=matklad a=Veykril Co-authored-by: Lukas Wirth <[email protected]> |