The configuration of Phpstorm is divided into 2 categories: project configuration and IDE configuration.
Project configuration (Setup), mainly to configure specific projects.
IDE configuration (settings), common settings are applied to all projects.
Project configuration
The configuration for each project is stored in the. idea folder in the directory where the project resides, and the configuration is saved in XML format. If you set the default project settings defaults, this default setting will automatically be applied to the next newly created project.
IDE Configuration
The IDE configuration is stored in a separate folder specified by Phpstorm, and different platforms are configured with different folder locations. The storage directory consists of the Phpstorm name and version.
For example:
Windows
The code is as follows |
|
<user Home>. Webidexxconfig Store user-specified settings. <user Home>. Webidexxsystem store Phpstorm cache files. <user home> in windowsxp means c:documents and Settings<user name>; Above windows 7 refers to C:users<user name> |
Linux
The code is as follows |
|
~/. Webidexx/config Store user-specified settings. ~/. Webidexx/system store Phpstorm cache files. |
Mac OS
The code is as follows |
|
~/library/application Support/webidexx Store Phpstorm plugin. ~/library/preferences/webidexx Store the Phpstorm configuration file. ~/library/caches/webidexx store Phpstorm cache, history, etc. ~/library/logs/webidexx store Phpstorm logs. |
Multiple subdirectories exist under the configuration directory, and the configuration is stored in XML file form. You can share these XML configuration files to others, such as shortcut key configuration, color scheme and so on, just copy these XML files to the specific directory of Phpstorm installation, make sure Phpstorm is closed before overwriting, otherwise it is likely to be overwritten by the running Phpstorm configuration. So as not to achieve the effect.
The following list contains the meanings of subfolders under the configuration folder.
Directory name |
User Configuration |
Codestyles |
Code style Configuration |
Colors |
Configuration of custom scenarios such as editor colors, fonts, etc. |
FileTypes |
User-defined file type configuration |
Inspection |
Code Check Configuration |
Keymaps |
Phpstorm Configuration of custom shortcut keys |
Options |
Configuration of each parameter, for example: Feature usage statistics |
Templates |
User-defined code templates |
Tools |
Configuration of external Tools |
Shelf |
Shelved configuration |
Phpstorm configuration, System, plugin directory can be modified to enter the Phpstorm installation directory Binidea.properties file.
You will need to adjust the following parameters:
- Idea.config.path
- Idea.system.path
- Idea.plugins.path
Phpstorm How to configure the Phpstorm Mac profile Directory