本文主要和大家分享phpstorm如何增加swoole自动提示,安装完swoole扩展后,准备敲个例子尝试一下,发现所有的swoole函数全部反白,没有代码提示,看起来很难受,搜索了一番,总算是解决掉这个问题了。
<span style="font-size: 14px;">git clone https://github.com/eaglewu/swoole-ide-helper.git <br/></span>
右键external libraries,选择configure php include path
选择下载好的swoole-ide-helper目录,点击确定。
然后就会发现代码中swoole相关方法函数不再反白了。
相关推荐:
立即学习“PHP免费学习笔记(深入)”;
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号