phpStorm 下载地址:
安装 Material Theme UI
alt+ctrl+s 快捷键 调出 配置选项 keymap
设置快捷键
定义完快捷键以后 alt+j
快速显示变量和方法
phpstorm集成bootstrap4
b4 ctrl+j 即可展示所有的bootstrap 的提示
关闭提示
phpStorm安装Laravel插件
Laravel 代码提示
https://github.com/barryvdh/laravel-ide-helper
composer require --dev barryvdh/laravel-ide-helper
打开config/app.php
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
打开providers.php AppServiceProvider
public function register() { if ($this->app->environment() !== 'production') { $this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class); } }
执行命令,创建文件
E:\phpStudy\WWW\laravel-scheduling>php artisan ide-helper:generate A new helper file was written to _ide_helper.php
laravel artisan 命令行提示
phpStorm 代码风格
详细配置文档:
http://houdunren.gitee.io/note/ide/phpstorm.html#%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86