The Phpstorm configuration is divided into 2 major categories: project configuration and IDE configuration.
Project configuration (Setup), primarily to configure specific projects.
IDE configuration (settings), the common settings apply 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 is automatically applied to the next newly created project.
IDE Configuration
The IDE configuration is stored in a separate folder specified by Phpstorm, and the configured folder location is different for each platform. The storage directory consists of Phpstorm name and version.
For example:
Windows
| The code is as follows |
Copy Code |
<user Home> Webidexxconfig to store user-specified settings. <user Home> Webidexxsystem store Phpstorm cache files. <user home> in Windows XP means C:documents and Settings<user name>; Above windows 7 refers to C:users<user name> |
Linux
| The code is as follows |
Copy Code |
~/. Webidexx/config holds the user-specified settings www.111cn.net. ~/. Webidexx/system store Phpstorm cache files.
|
Mac OS
| The code is as follows |
Copy Code |
~/library/application Support/webidexx store Phpstorm plug-ins. ~/library/preferences/webidexx Store phpstorm configuration file. ~/library/caches/webidexx Store Phpstorm cache, historical records, etc. ~/library/logs/webidexx Store Phpstorm log.
|
Multiple subdirectories exist under the configuration directory and are stored as XML files in the configuration. 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 Phpstorm installation of the specific directory, before overwriting please make sure Phpstorm is off, otherwise it is likely to be covered by the running Phpstorm configuration. So as not to achieve the effect.
The following list contains the meaning of subfolders under the configuration folder.
| directory name |
User Configuration |
| codestyles |
code style configuration |
| colors |
editor colors, fonts, and more. Configuration of custom schemes |
| filetypes |
user-defined file type configuration |
| inspection |
Code check configuration |
| keymaps |
phpstorm Configuration of the custom shortcut keys |
| Options |
configuration of individual parameters, for example: Feature usage statistics |
| templates |
User-defined code templates |
| Tools |
configuration for external tools |
| Shelf |
shelved configuration |
Phpstorm configuration, System, plug-in directory can be modified to enter the Phpstorm installation directory binidea.properties files.
You will need to adjust the following parameters:
- idea.config.path
- idea.system.path
- idea.plugins.path