问题
- 使用phpstorm 编辑器做swoole框架时候没有语法提示非常不方便
解决
执行命令:
git clone https://github.com/eaglewu/swoole-ide-helper.git
- 打开 phpstorm,左侧 External Libraries 右键 选择 Configure PHP Include Path
- 添加 swoole-ide-helper 目录
- 点击 apply 和 ok 即可
执行命令:
git clone https://github.com/eaglewu/swoole-ide-helper.git