I'm sorry if this is a question already answered or if this kind of questions are not allowed.
I have been trying to figure out how to change the font (cursive like Fira Code iScript
) in VS Code for Python like people have done for HTML and other languages to make it look prettier.
Attempts and Research
I spent last 3 hours to figure this out and watched multiple tutorials, but nothing seems to work for me. Now I have doubts that if it even works for Python in VS code.
I watched multiple tutorials on YouTube and other websites to figure it out but it just doesn't work for me.
CodePudding user response:
This depends on your Syntax Highlighting theme. Either find the one that already has this text stylized or edit your current one to do it.
The parameter you need to set in there is called "fontStyle"
and you need to set it as "italic"
for all entities you want. You can find more about it in the Visual Studio Code
or add the following configuration in settings.json.
"editor.fontFamily": "Ink Free,Consolas, 'Courier New', monospace",
The configuration content needs to be modified to the font name you need.