Skip to content

Instantly share code, notes, and snippets.

@shiftyp
Created April 25, 2019 12:22
Show Gist options
  • Save shiftyp/a8fa9ad9863486df1fb262a8e18ddc42 to your computer and use it in GitHub Desktop.
Save shiftyp/a8fa9ad9863486df1fb262a8e18ddc42 to your computer and use it in GitHub Desktop.
Types are Comments
{
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"meta.type.declaration",
"meta.type.declaration entity",
"meta.type.declaration entity.name.function",
"meta.type.declaration entity.name.type",
"meta.type.declaration keyword",
"meta.type.declaration storage",
"meta.type.declaration string",
"meta.type.declaration support.type",
"meta.type.declaration variable.other",
"meta.type.alias",
"meta.type.alias entity",
"meta.type.alias entity.name.function",
"meta.type.alias entity.name.type",
"meta.type.alias keyword",
"meta.type.alias storage",
"meta.type.alias string",
"meta.type.alias support.type",
"meta.type.alias variable.other",
"meta.type.annotation",
"meta.type.annotation entity",
"meta.type.annotation entity.name.function",
"meta.type.annotation entity.name.type",
"meta.type.annotation keyword",
"meta.type.annotation storage",
"meta.type.annotation string",
"meta.type.annotation support.type",
"meta.type.annotation variable.other"
],
"settings": {
"foreground": "#8a8a8a",
"fontStyle": "italic"
}
}
]
}
}
@shiftyp
Copy link
Author

shiftyp commented Apr 25, 2019

This gist is a settings.json for VSCode. It sets most things (I'm sure there are missed ones) in type annotations, declarations, and aliases to be the solarized dark comment color. Please fork, customize, and improve. I'm happy to keep this updated. 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment