aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/syntax_highlighting
Commit message (Collapse)AuthorAgeFilesLines
...
* Factor macro_rules! highlighting outLukas Wirth2020-10-141-0/+136
|
* Factor format string highlighting outLukas Wirth2020-10-141-0/+82
|
* Merge #6198bors[bot]2020-10-123-1/+9
|\ | | | | | | | | | | | | | | | | | | 6198: Skip macro matcher fragment name semantic highlighting r=matklad a=Veykril Implements a small state-machine for macro_rules! highlighting to separate out the matcher part of its rules. This skips semantically highlighting names of metavariables in the matcher and expander. This might even allow for more fun macro highlighting things in the future. Fixes #4380. Co-authored-by: Lukas Wirth <[email protected]>
| * Skip macro matcher fragment name semantic highlightingLukas Wirth2020-10-103-1/+9
| |
* | Fix `mut self` not emitting mutable binding on `self` useLukas Wirth2020-10-111-1/+1
|/
* 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-242-6/+6
|
* Fix handling of consuming self, refactor shared logic into a single functionPaul Daniel Faria2020-09-061-1/+1
|
* Add consuming modifier to lvalues that are passed by value and not CopyPaul Daniel Faria2020-09-062-12/+14
|
* :arrow_up: expect-testAleksey Kladov2020-08-288-7/+611
|
* MinorAleksey Kladov2020-08-271-1/+2
|
* 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`.
* Add new HighlightModifier variant, ConsumingPaul Daniel Faria2020-08-161-0/+3
|
* Rename ra_ide -> ideAleksey Kladov2020-08-134-0/+932