so i was wondering you can see in the first picture the first char of for if while(etc) has slight caligraphy in it? do anyone know how to do that in visual studio
-
2Those are just fonts. You can change any fonts in Visual Studio from settings.– BiswapriyoCommented Mar 30, 2019 at 4:03
-
actually i just want the first characther to have that kiind of font. and in visual studio u cant change font for one spesific thing (operator, plain text,etc).– Fernando DerellCommented Mar 30, 2019 at 4:53
1 Answer
The two images differ in font setting. To change font in Visual Studio,
open Tools > Options > Environment > Fonts and Colors. Go to Display Items
scroll menu, choose the required item of which font will be changed. For this
question, if
, else
, when
are called Keywords. So, choose Keywords item,
then change the font or color as your need. Here is the screenshot in VS 2017:
But at the time of this writing, Visual Studio does not support Italics font by default. There may be some extension to change that. Follow these threads to be aware whenever that feature will be available:
- UserVoice: Editor support for italics fonts syntax highlighting
- Developer Community: code editor italic fonts?