I would like to customize my current color scheme and apply a dedicated color and fontstyle italic to Python Decorators. I found out how to do it for comments by editing the settings.json (see example below). What is the correct keyword for the decorators, please?
"editor.tokenColorCustomizations": {
"comments": "#b249ee",
},
Thanks in advance!
2
Answers
In settings.json:
Use the scope checkup to view text information (Developer: Inspect Editor Tokens and Scopes),
Then edit the
editor.tokenColorCustomizations
andeditor.semanticTokenColorCustomizations
settings to achieve the effect you want.https://code.visualstudio.com/docs/getstarted/themes#_editor-syntax-highlighting