Home  >  Article  >  Backend Development  >  How to add swoole automatic prompt in phpstorm

How to add swoole automatic prompt in phpstorm

小云云
小云云Original
2018-03-16 15:35:183315browse

This article mainly shares with you how to add swoole automatic prompts in phpstorm. After installing the swoole extension, I was going to give an example to try it out. I found that all the swoole functions were highlighted and there were no code prompts. It looked very uncomfortable. I searched a lot. , finally solved this problem.

Download swoole-ide-helper-en

<span style="font-size: 14px;">git clone https://github.com/eaglewu/swoole-ide-helper.git   <br/></span>

Open PHPStorm

How to add swoole automatic prompt in phpstorm
Right-click on External Libraries and select Configure PHP Include Path
How to add swoole automatic prompt in phpstorm
Select the downloaded swoole-ide-helper directory and click OK.

Then you will find that the swoole related methods and functions in the code are no longer highlighted.

Related recommendations:

thinkphp5 and swoole asynchronous mass mailing implementation method

php uses swoole to update client data in real time

Using swoole to extend php websocket example

The above is the detailed content of How to add swoole automatic prompt in phpstorm. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn