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

1.下载swoole-ide-helper-en

git clone https://github.com/eaglewu/swoole-ide-helper.git 

在你项目的External Libraries上右键->Configure PHP Include Path然后选择那个文件夹(swoole-ide-helper-en)就可以了

添加完成后看效果

 

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

PhpStorm支持CI框架的自动补全

git clone https://github.com/topdown/phpStorm-CC-Helpers

 

猜你喜欢

转载自hudeyong926.iteye.com/blog/2285968