Phpstorm hints Phalcon syntax

Source: Internet
Author: User

Install Phalcon First, add Phalcon extension php_phalcon.dll to PHP ext directory, this do not repeat, many online tutorials

Install Phalcon-devtools directly below,

1, respectively download Phalcon source code and Phalcon-devtools source code, I downloaded the D drive

git clone https://github.com/phalcon/cphalcon.git

git clone https://github.com/phalcon/phalcon-devtools.git

2,
修改gen-stubs.php文件,指定CPHALCON_DIR,这里我写的是刚才下载的目录,既D盘

3, Generate Phalcon grammar file, this step is very important

First cut to the PHP installation directory, and then execute the gen-stub.php file that you just modified

打开phalcon-devtools的ide目录,会看到有生成的phalcon语法文件,我目前生成的是3.3.2

4,打开phpstorm,然后添加这个文件,添加完成,重启phpstorm就会有语法提示了

Click on the + sign, select specify other, select the Phalcon folder you just created.

 

Phpstorm hints Phalcon syntax

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.