Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to switch and install themes in PhpStorm

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces the knowledge of "how to switch and install themes in PhpStorm". In the operation of practical cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

1. Switch topics

The theme in PhpStorm is divided into two parts: the theme and the editor theme. As the name implies, the theme is responsible for the overall theme of the PhpStorm, while the editor theme is responsible for the theme in the code editing area:

Appearance theme

We can switch different themes that come with the appearance system in Preferences | Appearance & Behavior | Appearance:

The font and font size below also controls the font and font size of the area outside the code editor and does not affect the font and size of the editor area.

Editor theme

The topic in the code editor area can be set in Preferences | Editor | Color Scheme:

PhpStorm themes are divided into dark and bright in terms of large tones. Switching editor themes in the same tone will only switch editor themes, and themes outside the editor will not change, but if you switch from one tone to another, the theme will also switch, and there will be corresponding prompts before switching:

If you switch from the above Darcula to Blackboard under the same dark theme, the parts outside the editor will not switch:

If you want to adjust the font and font size of the code editor, you can set it globally in Preferences | Editor | Font, or for a specific topic in Preferences | Editor | Color Scheme | Color Scheme Font (check the check box in the red box before editing):

2. Custom theme

The theme does not support customization, the editor theme can, if you want to customize an editor theme, you can copy a copy from the theme that comes with the system:

Then customize the settings for the copy:

After the settings are complete, apply the changes, and you can see the new theme scheme in the theme drop-down box:

Of course, you can rename it as you like.

In addition to opening the Preferences (Settings in Windows system) interface for configuration, you can also use Quick Switch Scheme under the View navigation bar. Quickly switch topics:

It includes editor theme (Editor Color Scheme) and theme (Theme). You can click on it to experience it. I won't repeat it here.

3. Install a third-party theme

In addition to switching between system-built themes and customizing based on built-in editor themes, PhpStorm also supports the installation of third-party editor themes, and you can see a wealth of third-party Jetbrains themes (for PhpStorm) in the https://github.com/daylerees/colour-schemes project:

You can see a preview of all the above themes on the http://daylerees.github.io/ page. Let's take laravel.icls as an example to demonstrate the installation of third-party themes (editor themes).

Enter the PhpStorm theme directory locally, and my version is 2020.1, so the corresponding directory is ~ / Library/Application\ Support/JetBrains/PhpStorm2020.1 (take Mac system as an example). All topics are located in the colors subdirectory of this directory, and we download the laravel.icls file to this directory:

Cd ~ / Library/Application\ Support/JetBrains/PhpStorm2020.1

Cd colors

Wget https://raw.githubusercontent.com/daylerees/colour-schemes/master/jetbrains/laravel.icls

Restart PhpStorm and you can see that you can switch to Laravel theme in the editor theme selection list:

The default font is small and can be adjusted by customizing the editor theme:

This is the end of "how to switch and install themes in PhpStorm". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report