phpstorm增长swoole自动提示

安装完swoole扩展后,准备敲个例子尝试一下,发现全部的swoole函数所有反白,没有代码提示,看起来很难受,搜索了一番,总算是解决掉这个问题了。php

下载swoole-ide-helper-en
git clone https://github.com/eaglewu/swoole-ide-helper.git   
打开PHPStormgit

右键External Libraries,选择Configure PHP Include Path github

选择下载好的swoole-ide-helper目录,点击肯定。swoole

而后就会发现代码中swoole相关方法函数再也不反白了。
 框架

PhpStorm支持CI框架的自动补全ide

git clone https://github.com/topdown/phpStorm-CC-Helpers  
相关文章
相关标签/搜索