![]() ![]() Productivity tips See the color scheme settings for the current symbol Restart PhpStorm and then select the installed font on the Editor | Font page of the IDE settings Control+Alt+S. Unpack fonts to ~/.local/share/fonts for the current user or to /usr/share/fonts to install fonts system-wide, and then run fc-cache -f -v. For the font to work correctly, it should have at least 4 files: Normal, Bold, Italic, and Bold Italic. If you want to add another font, you need to install it in your OS, and PhpStorm will discover it after a restart.ĭownload the desired TTF font package and unzip it to extract font files (. PhpStorm can use any font that is available in your operating system or in the Java runtime that is used to run PhpStorm. Select the Use console font instead of the default checkbox. Press Control+Alt+S to open the IDE settings and then select Editor | Color Scheme | Console Font. Select the Use color scheme font instead of the default checkbox.īy default, text in the console uses the same font as the color scheme. Press Control+Alt+S to open the IDE settings and then select Editor | Color Scheme | Color Scheme Font. In such cases, use the default global font settings. This is not recommended if you are planning to share your scheme or use it on other platforms that may not support the selected font. You can set a different font for your current scheme. From the Use custom font list, select a font and specify the font size in the Size field. To configure the font used in the PhpStorm interface (tool windows, toolbars, menus, and so on), open the IDE settings Control+Alt+S, and go to Appearance & Behavior | Appearance. This font is used and inherited in all color schemes by default. To customize the default font used in the editor, open the Editor | Font page of the IDE settings Control+Alt+S. You can also share color schemes with other developers.įrom the Scheme list, select a color scheme, click, then click Import Scheme. ![]() If you are used to a specific color scheme, you can export it from one installation and import it to another one. Select the Semantic highlighting checkbox and customize the color ranges if necessary. Press Control+Alt+S to open the IDE settings and then select Editor | Color Scheme | Language Defaults | Semantic highlighting. You can use semantic highlighting to assign a different color to each parameter and local variable. If you have a function or method with many parameters and local variables, it may be hard to distinguish them from one another at a glance. Semantic highlightingīy default, the color scheme defines syntax highlighting for reserved words and other symbols in your source code: operators, keywords, suggestions, string literals, and so on. To change inherited color settings for an element, clear the Inherit values from checkbox. In most cases, it is sufficient to configure Language Defaults and make adjustments for specific languages if necessary. The Language Defaults section contains common syntax highlighting settings, which are applied to all supported programming languages by default. For example, the General section defines basic editor colors, such as the gutter, line numbers, errors, warnings, popups, hints, and so on. The settings under Editor | Color Scheme are separated into sections. To define color and font settings, open the Editor | Color Scheme page of the IDE settings Control+Alt+S. You cannot remove predefined color schemes. ![]() To restore a predefined color scheme to default settings, click and select Restore Defaults. If you customize a predefined color scheme, it will be displayed in blue. Predefined color schemes are listed in bold font. (Optional) To rename your custom scheme, click and select Rename. Select a color scheme, click, and then click Duplicate. You can customize a predefined color scheme, but it is recommended that you create a duplicate for your custom color and font settings: Duplicate a color scheme For more information, see Share color schemes. If you install a plugin with a color scheme, that scheme will be added to the list of predefined schemes. Use the Scheme list to select a color scheme. Press Control+Alt+S to open the IDE settings and then select Editor | Color Scheme. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |