ralfmaxxx/phpstorm_configurator
最新稳定版本:0.6.0
Composer 安装命令:
composer require ralfmaxxx/phpstorm_configurator
包简介
Configure you phpstorm based on one file
README 文档
README
Requirements
PHP>=5.6
Usage
Now it is easy to prepare and share your phpstorm configuration for projects.
Just create simple phpstorm.yml which contains:
settings:
inspection: ~
indent: ~
Settings have default values as is shown below:
settings:
inspection:
phpmd: "phpmd.xml"
phpcs: "ruleset.xml"
indent:
php: 4
js: 4
gherkin: 4
yml: 4
json: 4
css: 4
scss: 4
html: 4
xml: 4
You can easily overwrite them in your phpstorm.yml file.
Based on this file, just run from directory where phpstorm.yml is placed:
phpstorm-configurator configure:inspections
phpstorm-configurator configure:indents
Important
It works properly only on Mac/Linux and tested with PhpStorm 9 and PhpStorm 2016.(1,2,3).
For now .idea directory has to exist.
If your settings are not imported, please restart IDE.
Inspections will be imported only if your files have proper structure.
For now phpcs file has to be named "ruleset.xml". Otherwise it won't be used by PhpStorm.
统计信息
- 总下载量: 1.79k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2015-07-26