aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/syntax_highlighting/test_data
Commit message (Collapse)AuthorAgeFilesLines
* Highlight unsafe trait refs as unsafe only in impl blocks and definitionsLukas Wirth2021-06-159-0/+14
|
* Highlight tuple field accesses correctlyLukas Wirth2021-06-111-2/+2
|
* Don't descend MacroCall TokenTree delimitersLukas Wirth2021-06-091-0/+5
|
* Fix bug where library functions were not highlighted as suchAramis Razzaghipour2021-05-261-1/+1
|
* Rename ‘foreign’ semantic token modifier to ‘library’Aramis Razzaghipour2021-05-241-5/+5
|
* Add testing of foreign item highlightingAramis Razzaghipour2021-05-241-1/+17
|
* Give ‘unsafe’ semantic token modifier to unsafe traitsAramis Razzaghipour2021-05-231-1/+4
|
* Merge #8853bors[bot]2021-05-161-2/+2
|\ | | | | | | | | | | | | | | | | 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 TypeAliasLukas Wirth2021-05-161-2/+2
| |
* | Attach comments to ast::ImplLukas Wirth2021-05-151-1/+13
|/
* Address commentshi-rustin2021-05-141-0/+11
|
* Fix block comment intra doc link injection rangesLukas Tobias Wirth2021-05-041-0/+2
|
* Added mutable semantic token modifier for &mut self methodsBastian Kersting2021-04-261-2/+2
|
* Sort HlMod variants and ALL constLukas Wirth2021-04-235-32/+32
|
* 8279: Fix the not operator use and test case fix.Chetan Khilosiya2021-04-082-2/+2
|
* Merge #8245bors[bot]2021-04-051-1/+9
|\ | | | | | | | | | | | | | | | | | | 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]>
| * Implement basic Documentation source to syntax range mappingLukas Wirth2021-03-301-1/+9
| |
* | Revert "8024: Added test case for highlighting trait items."Chetan Khilosiya2021-03-301-67/+0
| | | | | | | | This reverts commit d7dcd41801b319f64f3ca2ed22735ab70092e491.
* | 8024: Added test case for highlighting trait items.Chetan Khilosiya2021-03-301-0/+67
| |
* | 8024: Updated the implementation for trait modifier.Chetan Khilosiya2021-03-304-10/+10
|/ | | | Fixed the test cases.
* Unleash macro 2.0 in hightlight and moreEdwin Cheng2021-03-271-1/+11
|
* Use a highlight modifier for intra doc linksLukas Wirth2021-03-189-11/+11
|
* Semantic highlight intradoclinks in documentationLukas Wirth2021-03-179-0/+14
|
* Inject highlight into block doc commentsLukas Wirth2021-03-171-2/+18
|
* Properly handle doc attributes in doc-comment highlight injectionLukas Wirth2021-03-161-1/+17
|
* Classify function calls as functions when shadowed by typesLukas Wirth2021-01-281-0/+4
|
* Handle self/super/crate in PathSegment as NameRefLukas Wirth2021-01-154-16/+16
|
* Fix typo, parentheses is pluralLaurențiu Nicola2021-01-108-132/+132
|
* Split punctuation semantic highlighting up into more tagsLukas Wirth2021-01-109-297/+297
|
* Better highlight for fixturesAleksey Kladov2021-01-091-2/+2
|
* Rename dummy -> noneAleksey Kladov2021-01-091-10/+10
|
* Simplify highlighting infraAleksey Kladov2021-01-081-13/+18
| | | | This also fixes the killer whale bug
* Better fixture highlightAleksey Kladov2021-01-071-0/+48
|
* Add ConstParams to the ide layerLukas Wirth2021-01-011-0/+4
|
* Support labels in reference searchLukas Wirth2020-12-248-0/+13
|
* Make sure that HighlightModifier::ALL is synchronized with enumAleksey Kladov2020-12-195-33/+33
|
* Clarify the meaning of no-op highlight tagAleksey Kladov2020-12-191-9/+9
|
* Use more Rustic highlighting specifiersAleksey Kladov2020-12-195-32/+32
| | | | | *Method* works for OO languages, but in rust we can also have associated constants & types, so let's move this to a modifier.
* Make macro def krate mandatoryJonas Schievink2020-12-151-1/+4
| | | | Refactors builtin derive support to go through proper name resolution
* Move to upstream `macro_rules!` modelJonas Schievink2020-12-153-7/+7
|
* Use METHOD semantic token typeLaurențiu Nicola2020-12-045-32/+32
|
* Add attribute highlight modifier to all tokens inside attributesLukas Wirth2020-11-213-7/+7
|
* format string highlighting: handle hex + debug type specifierRoland Ruckerbauer2020-11-151-0/+2
|
* Merge #6472bors[bot]2020-11-093-2/+58
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6472: Add `static` modifier for associated functions r=matklad a=p3achyjr Adds static semantic token modifier to associated functions, resolves #6194 ## Info - Associated functions are more-or-less equivalent to static methods in other languages. This PR checks, for each function, whether that function has a self_param, and whether it's enclosed in a trait/impl. ## Changes - Added method ```is_associated``` to code_model::Function. This basically gets the source from the ast, and checks whether the enclosing scope is an impl or trait. - Added `static` to HighlightModifiers - Added unit test ## Tests - Ran ```cargo test``` Co-authored-by: Anatol Liu <[email protected]>
| * Add static semantic token modifier for associated functions with no &selfAnatol Liu2020-11-053-2/+58
| |
* | . is an operatorAleksey Kladov2020-11-094-27/+27
|/ | | | closes #6498
* Merge #6379bors[bot]2020-10-271-0/+6
|\ | | | | | | | | | | | | | | 6379: Highlight never type as BuiltinType r=matklad a=Veykril Fixes #6374 Co-authored-by: Lukas Wirth <[email protected]>
| * Highlight never type as BuiltinTypeLukas Wirth2020-10-261-0/+6
| |
* | Fix testGrayJack2020-10-261-158/+158
| |
* | Add test to avoid regressionGrayJack2020-10-261-153/+159
|/