Skip to content

Commit c07050e

Browse files
Merge #4400
4400: Enhanced coloring r=georgewfraser a=georgewfraser This PR builds on #4397 to enhance the existing syntax coloring. ## Underline mutable variables The textmate scope `markup.underline` underlines identifiers, which is a nice way to make mutable vars stand out: <img width="327" alt="Screen Shot 2020-05-09 at 1 18 55 PM" src="https://user-images.githubusercontent.com/1369240/81484179-8bb47d80-91f8-11ea-997d-1dcffbe44aa7.png"> ## Italicize static variables The textmate scope `markup.italic` italicizes identifiers. Italic = static is a common convention in IDEs like IntelliJ: <img width="288" alt="Screen Shot 2020-05-09 at 1 19 14 PM" src="https://user-images.githubusercontent.com/1369240/81484236-cd452880-91f8-11ea-8478-505ee49bc8b3.png"> Co-authored-by: George Fraser <george@fivetran.com>
2 parents 88d3959 + 6222f2b commit c07050e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

editors/code/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,9 @@
623623
],
624624
"formatSpecifier": [
625625
"punctuation.section.embedded.rust"
626+
],
627+
"*.mutable": [
628+
"markup.underline"
626629
]
627630
}
628631
}

0 commit comments

Comments
 (0)