aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/syntax_highlighting/test_data/highlight_doctest.html
Commit message (Collapse)AuthorAgeFilesLines
* Attach comments to ast::ImplLukas Wirth2021-05-151-1/+13
|
* Fix block comment intra doc link injection rangesLukas Tobias Wirth2021-05-041-0/+2
|
* Sort HlMod variants and ALL constLukas Wirth2021-04-231-6/+6
|
* 8279: Fix the not operator use and test case fix.Chetan Khilosiya2021-04-081-1/+1
|
* Implement basic Documentation source to syntax range mappingLukas Wirth2021-03-301-1/+9
|
* Use a highlight modifier for intra doc linksLukas Wirth2021-03-181-3/+3
|
* Semantic highlight intradoclinks in documentationLukas Wirth2021-03-171-0/+6
|
* 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
|
* Handle self/super/crate in PathSegment as NameRefLukas Wirth2021-01-151-1/+1
|
* Fix typo, parentheses is pluralLaurențiu Nicola2021-01-101-9/+9
|
* Split punctuation semantic highlighting up into more tagsLukas Wirth2021-01-101-26/+26
|
* Rename dummy -> noneAleksey Kladov2021-01-091-10/+10
|
* Simplify highlighting infraAleksey Kladov2021-01-081-13/+18
| | | | This also fixes the killer whale bug
* Support labels in reference searchLukas Wirth2020-12-241-0/+1
|
* Make sure that HighlightModifier::ALL is synchronized with enumAleksey Kladov2020-12-191-3/+3
|
* Clarify the meaning of no-op highlight tagAleksey Kladov2020-12-191-9/+9
|
* Use more Rustic highlighting specifiersAleksey Kladov2020-12-191-2/+2
| | | | | *Method* works for OO languages, but in rust we can also have associated constants & types, so let's move this to a modifier.
* Move to upstream `macro_rules!` modelJonas Schievink2020-12-151-1/+1
|
* Use METHOD semantic token typeLaurențiu Nicola2020-12-041-2/+2
|
* Add attribute highlight modifier to all tokens inside attributesLukas Wirth2020-11-211-1/+1
|
* Merge #6472bors[bot]2020-11-091-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-051-1/+1
| |
* | . is an operatorAleksey Kladov2020-11-091-3/+3
|/ | | | closes #6498
* :arrow_up: expect-testAleksey Kladov2020-08-281-0/+102