-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
E-easyE-has-instructionsIssue has some instructions and pointers to code to get startedIssue has some instructions and pointers to code to get startedgood first issue
Description
We use strings to tag syntax-highlighted tokens: https://github.com/rust-analyzer/rust-analyzer/blob/d6223253b628b279f9ddae8f83f7173d01f6b32c/crates/ra_ide/src/syntax_highlighting.rs#L119
This is less than idea, because there's no single place that lists all the tags. We should fix it by either using an enum, or declaring all the tags as named constants (I lean towards the latter option).
Metadata
Metadata
Assignees
Labels
E-easyE-has-instructionsIssue has some instructions and pointers to code to get startedIssue has some instructions and pointers to code to get startedgood first issue