PHPStorm添加第三方库的代码自动补全

1.下载swoole-ide-helper-en

Java代码  PHPStorm添加第三方库的代码自动补全
  1. git clone https://github.com/eaglewu/swoole-ide-helper.git   

在你项目的External Libraries上右键->Configure PHP Include Path然后选择那个文件夹(swoole-ide-helper-en)就可以了
PHPStorm添加第三方库的代码自动补全

添加完成后看效果
PHPStorm添加第三方库的代码自动补全
 

为什么我添加了却没有提示
解决办法:将自应用里面的相关文件统统"Mark as Plain Text"!

 

PhpStorm支持CI框架的自动补全

Java代码  PHPStorm添加第三方库的代码自动补全
  1. git clone https://github.com/topdown/phpStorm-CC-Helpers