phpstorm如何增加swoole自动提示

本文主要和大家分享phpstorm如何增加swoole自动提示,安装完swoole扩展后,准备敲个例子尝试一下,发现所有的swoole函数全部反白,没有代码提示,看起来很难受,搜索了一番,总算是解决掉这个问题了。

下载swoole-ide-helper-en

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

打开PHPStorm

这里写图片描述
右键External Libraries,选择Configure PHP Include Path 
这里写图片描述
选择下载好的swoole-ide-helper目录,点击确定。

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

猜你喜欢

转载自blog.csdn.net/u010490524/article/details/80476302
今日推荐