Home > Article > Development Tools > Modify font and size in phpstorm [Picture and text steps]
The following tutorial column will introduce to you how to modify the font and size of phpstorm in the phpstorm tutorial column. I hope it will be helpful to friends who need it!
phpstorm is cross-platform and supports use on Windows, macOS, and Linux systems. It uses Java language to develop PHP development tools. Often for various reasons we want to modify the font and size in phpstorm.
phpstorm supports personalized definition of development tool styles and behaviors, including theme modification, font style modification, font size modification, shortcut key modification, plug-in configuration, etc.
Below we are talking about the modification of phpstorm font style and font size. The modification is divided into two parts. One is the modification of phpstorm's own styles of menus, navigation bars, toolbars, and status bars. The other is the font and size modification of the code editor, which determines the font and font size of the code display.
1. Click File - Settings - Appearance Behavior - Appearance option to enter the settings interface. All sub-options under Appearance Behavior are phpstorm personalization settings.
2. In the use custom font option, just change it to the font you like. The following size (size) is the modification of the font size, in pixels. Generally, 14px and 16px are fine.
As shown in the picture:
The modified result is:
As you can see, the menu bar, navigation bar, and toolbar are affected. , the font of the status bar. The code font in the code editing area has not changed.
1. Click File - Settings - Editor - Font option.
The sub-options under the Editor bar are all code-related personalized settings such as code display, code prompts, code templates, etc.
2. Font (Font) is the font displayed by the code, Size (Size) is the font size displayed by the code, and Line Spacing (Line Spacing) is the distance between each line of code. The larger the value, the farther apart the two lines of code are. Far.
As shown in the picture:
The display effect is
It can be seen that the settings here only affect the display of the code, and modify the code font in the code editor area and font size, etc. A preview is also provided during setup.
The above two parts constitute the modification of phpstorm font and font size, and completely modify the font style and size.
The above is the detailed content of Modify font and size in phpstorm [Picture and text steps]. For more information, please follow other related articles on the PHP Chinese website!