Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Highlight tuple field accesses correctly | Lukas Wirth | 2021-06-11 | 3 | -4/+7 |
| | |||||
* | Don't descend MacroCall TokenTree delimiters | Lukas Wirth | 2021-06-09 | 2 | -0/+10 |
| | |||||
* | Merge #9003 | bors[bot] | 2021-05-26 | 1 | -0/+2 |
|\ | | | | | | | | | | | | | | | 9003: minor: Document semantic token modifiers r=Veykril a=Veykril Part of #6457 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Document semantic token modifiers | Lukas Wirth | 2021-05-26 | 1 | -0/+2 |
| | | |||||
* | | Fix bug where library functions were not highlighted as such | Aramis Razzaghipour | 2021-05-26 | 3 | -8/+25 |
|/ | |||||
* | Refactor application of `library` semantic token modifier | Aramis Razzaghipour | 2021-05-25 | 1 | -62/+15 |
| | |||||
* | Remove superfluous early-returns | Aramis Razzaghipour | 2021-05-24 | 1 | -18/+22 |
| | |||||
* | Rename ‘foreign’ semantic token modifier to ‘library’ | Aramis Razzaghipour | 2021-05-24 | 3 | -18/+18 |
| | |||||
* | Add testing of foreign item highlighting | Aramis Razzaghipour | 2021-05-24 | 2 | -1/+55 |
| | |||||
* | Highlight foreign modules as such | Aramis Razzaghipour | 2021-05-24 | 1 | -1/+9 |
| | |||||
* | Remove hir krate methods | Aramis Razzaghipour | 2021-05-24 | 1 | -9/+9 |
| | |||||
* | Add highlighting of items from other crates | Aramis Razzaghipour | 2021-05-24 | 2 | -12/+81 |
| | |||||
* | Give ‘unsafe’ semantic token modifier to unsafe traits | Aramis Razzaghipour | 2021-05-23 | 4 | -3/+16 |
| | |||||
* | 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 |
| | | |||||
* | | Merge #8813 | bors[bot] | 2021-05-16 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -1/+1 |
| | | | | | | | | | | | | 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 |
| |/ |/| | |||||
* | | 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 | ||||
* | Fix block comment intra doc link injection ranges | Lukas Tobias Wirth | 2021-05-04 | 2 | -0/+4 |
| | |||||
* | Fixed formatting | Bastian Kersting | 2021-04-26 | 1 | -1/+1 |
| | |||||
* | Added mutable semantic token modifier for &mut self methods | Bastian Kersting | 2021-04-26 | 2 | -4/+9 |
| | |||||
* | Simplify highlight token match guards | Lukas Wirth | 2021-04-23 | 2 | -102/+92 |
| | |||||
* | Sort HlMod variants and ALL const | Lukas Wirth | 2021-04-23 | 6 | -46/+45 |
| | |||||
* | Tag `yield` and `await` as ControlFlow in semantic highlighting | Lukas Wirth | 2021-04-23 | 2 | -5/+13 |
| | |||||
* | Fix typo: comparision -> comparison | Adrian Stanciu | 2021-04-19 | 2 | -3/+3 |
| | |||||
* | 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 |
| | |||||
* | 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 | ||||
* | Merge #8354 | bors[bot] | 2021-04-13 | 4 | -16/+71 |
|\ | | | | | | | | | | | | | | | 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 | 2 | -14/+76 |
| | | | | | | | | Operator semantic highlighting. | ||||
* | | internal: fix flakiness of accidentally quadratic test | Aleksey Kladov | 2021-04-13 | 1 | -81/+17 |
| | | |||||
* | | Fix typo: liner -> linear | Jakub Kądziołka | 2021-04-12 | 1 | -1/+1 |
| | | | | | | :see_no_evil: | ||||
* | | Let's try testing for "is not quadratic" condition | Aleksey Kladov | 2021-04-10 | 1 | -0/+96 |
| | | |||||
* | | 8024: Added the trait modifier for assoc types. | Chetan Khilosiya | 2021-04-08 | 1 | -2/+12 |
|/ | |||||
* | Merge #8245 | bors[bot] | 2021-04-05 | 3 | -65/+45 |
|\ | | | | | | | | | | | | | | | | | | | 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]> | ||||
| * | Use new new docs string source mapping in goto_def and hover | Lukas Wirth | 2021-03-30 | 1 | -31/+4 |
| | | |||||
| * | Implement basic Documentation source to syntax range mapping | Lukas Wirth | 2021-03-30 | 3 | -34/+41 |
| | | |||||
* | | 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. | ||||
* | Remove code duplication in highlight injection | Lukas Wirth | 2021-03-29 | 1 | -29/+3 |
| | |||||
* | Unleash macro 2.0 in hightlight and more | Edwin Cheng | 2021-03-27 | 4 | -8/+27 |
| | |||||
* | syntax: return owned string instead of leaking string | cynecx | 2021-03-26 | 1 | -1/+1 |
| | |||||
* | Show item info when hovering intra doc links | Lukas Wirth | 2021-03-23 | 1 | -3/+3 |
| | |||||
* | Don't use an untyped String for ActiveParam tracking | Lukas Wirth | 2021-03-20 | 1 | -1/+1 |
| |