天天看点

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

1.下载swoole-ide-helper-en

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

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框架的自动补全

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

git clone https://github.com/topdown/phpstorm-cc-helpers