aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/syntax_highlighting/tests.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add `public` semantic token modifier for public itemsAramis Razzaghipour2021-06-231-1/+9
|
* Highlight unsafe trait refs as unsafe only in impl blocks and definitionsLukas Wirth2021-06-151-0/+5
|
* 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/+7
|
* Add testing of foreign item highlightingAramis Razzaghipour2021-05-241-0/+38
|
* Give ‘unsafe’ semantic token modifier to unsafe traitsAramis Razzaghipour2021-05-231-0/+3
|
* 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-0/+12
|/
* Address commentshi-rustin2021-05-141-0/+11
|
* Fix block comment intra doc link injection rangesLukas Tobias Wirth2021-05-041-0/+2
|
* Check for rust doc code attributes like rustdoc doesLukas Wirth2021-04-191-1/+1
|
* internal: fix flakiness of accidentally quadratic testAleksey Kladov2021-04-131-81/+17
|
* Fix typo: liner -> linearJakub Kądziołka2021-04-121-1/+1
| | | :see_no_evil:
* Let's try testing for "is not quadratic" conditionAleksey Kladov2021-04-101-0/+96
|
* Implement basic Documentation source to syntax range mappingLukas Wirth2021-03-301-1/+9
|
* Unleash macro 2.0 in hightlight and moreEdwin Cheng2021-03-271-0/+10
|
* Semantic highlight intradoclinks in documentationLukas Wirth2021-03-171-1/+6
|
* Inject highlight into block doc commentsLukas Wirth2021-03-171-1/+17
|
* Properly handle doc attributes in doc-comment highlight injectionLukas Wirth2021-03-161-0/+16
|
* Add parsing benchmarkAleksey Kladov2021-02-091-5/+32
|
* Infra for "unit" benchmarkingAleksey Kladov2021-02-091-10/+12
|
* Classify function calls as functions when shadowed by typesLukas Wirth2021-01-281-0/+4
|
* Simplify highlighting infraAleksey Kladov2021-01-081-0/+5
| | | | This also fixes the killer whale bug
* Better fixture highlightAleksey Kladov2021-01-071-0/+19
|
* Add ConstParams to the ide layerLukas Wirth2021-01-011-0/+4
|
* Support labels in reference searchLukas Wirth2020-12-241-0/+5
|
* Make macro def krate mandatoryJonas Schievink2020-12-151-0/+3
| | | | Refactors builtin derive support to go through proper name resolution
* format string highlighting: handle hex + debug type specifierRoland Ruckerbauer2020-11-151-0/+2
|
* Add static semantic token modifier for associated functions with no &selfAnatol Liu2020-11-051-0/+28
|
* 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
| |
* | Add test to avoid regressionGrayJack2020-10-261-0/+6
|/
* Fix unary minus highlightingLukas Wirth2020-10-251-0/+3
|
* Add tests for callable modifierGrayJack2020-10-211-0/+19
|
* Skip macro matcher fragment name semantic highlightingLukas Wirth2020-10-101-0/+4
|
* rename mock_analysis -> fixtureAleksey Kladov2020-10-021-5/+5
|
* Get rid of MockAnalysisAleksey Kladov2020-10-021-3/+3
|
* Cleanup unintended unresolved reference in syntax higlighting testPaul Daniel Faria2020-09-241-3/+3
|
* Add consuming modifier to lvalues that are passed by value and not CopyPaul Daniel Faria2020-09-061-6/+7
|
* :arrow_up: expect-testAleksey Kladov2020-08-281-7/+7
|
* Switch to expect_test from crates.ioAleksey Kladov2020-08-211-1/+1
|
* Add new method to Semantics, method_receiver_kind, which returns the kind of ↵Paul Daniel Faria2020-08-161-0/+30
| | | | | | | self The options are Shared, Mutable, Consuming, and Copied. Use this to add proper highlighting to methods based on usage.
* Mark mutating functions with `mutable` modifier, and owning functions with ↵Paul Daniel Faria2020-08-161-0/+9
| | | | `consuming`.
* Rename ra_ide -> ideAleksey Kladov2020-08-131-0/+445