For example: When you write data[' descrition '] data[' name ' data[' Piclogo ', it's annoying to write every time, you can do this
These are the CMS fields, you want to reach the input Cmskey tab full show several CMS, selected after completion, show this CMS in the field.
The steps are as follows:
1 ctrl+alt+s:editor->code Style-> Live Templates in Phpstrom
Select the + number to choose Live Template
2 abbreviation fill in Cmskey description fill in the description
Template Text Write $var $ click on the right edit variables
3 You need to fill in the 2, 3 column Expression using the enum function. The format is as follows: Enum ("Imperial keyword", "pigcms keyword")
Default value, please click OK
4 on the outside Template page has a red button Define click on settings to use this template, such as you want to use in HTML and PHP to check these two labels
5 This time in PHP input cmskey press TAB will display the Empire keyword and pigcms keyword two columns
Obviously: If you repeat the above steps, add an enum to the Empire keyword ("description", "name", "id", "Piclogo");
After the Empire keyword is displayed, tab will display the Description,name,id,piclogo four columns.
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.