Phpstorm Template Variable Comment

Source: Internet
Author: User

Similar to this note, easy to use.

There are two ways to generate PHP files automatically, one is to generate them manually.

First type: auto-Generate

A figure explaining all. So the configuration is OK.

Another way to do this is to write in the included, direct reference to the first PHP file header files

Then reference.

The second method is to create it yourself and use it at any time. Still looking for settings, but this is the template

Create a new template, called, User, and then resume a shortcut (called notes) in the inside. In the lower left-hand corner of the template text, write this.

/* * * Created   by */

English version of yourself, right!!! When you are done editing, click the top right corner. Edit the variable for editing.

After these two steps are completed, the most important thing is to click Change under the template file and select PHP. This can be used in PHP files, support or quite a lot.

Finally, look at the bottom of the editor to refresh, if not refreshed, restart the editor, OK.

How to use: Enter the value of your abbreviation inside the php file, I just need to input notes here OK.

Phpstorm Template Variable Comment

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.