Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change the comment font in PhpStorm 2017

My comment font is written in Persian. Because the current font does not display properly, I want to change the font. How do I do this?

screenshot

like image 412
javad Avatar asked Aug 22 '17 16:08

javad


People also ask

How do I change font size in PHP storm?

If you need to quickly change the font size while in the editor, press Ctrl+Alt+S to open the IDE settings, go to Editor | General, and select Change font size with Command+Mouse Wheel or Change font size with Control+Mouse depending on your operating system.

What is PHPStorm default font?

Yes, JetBrains Mono is a font produced by the company responsible for the awesome IDEs PHPStorm and WebStorm among other softwares.

How do I change the color of a terminal in PHPStorm?

Press Ctrl+Alt+S to open the IDE settings and select Editor | Color Scheme. Select the setting pages related to consoles: Console Colors.

How do you change the color of comments in Pycharm?

Press Ctrl+Alt+S to open the IDE settings and select Editor | Color Scheme | Language Defaults | Semantic highlighting. Select the Semantic highlighting checkbox and customize the color ranges if necessary.


2 Answers

Only one font can be used for the whole editor -- you cannot use different fonts for different elements.

You can only change font effects (in File | Settings | Editor | Color Scheme | Language Defaults > Doc comment of Line comment). You can't assign another font to it.

I suggest for you that use vs code theme for phpstorm : https://github.com/lenny1882/vscode-dark-plus-webstorm

enter image description here

like image 179
hmahdavi Avatar answered Oct 14 '22 19:10

hmahdavi


i have same problem and check system font and find my windows 10 font that create this problem. in windows 10 font 'Aldhabi' have same style and if you want to remove it, it say this font is protected font and can not removed. and i with cmd as admin remove this font from my font folder and every things is ok now.

like image 38
Alireza Azami Avatar answered Oct 14 '22 18:10

Alireza Azami