找到项目定义文件:/nbproject/customs.json, 添加下面的代码,保存后,即可实现指令的自动提示
~~~
{
"elements": {},
"attributes": {
"php-include": {},
"php-repeat": {},
"php-for": {},
"php-foreach": {},
"php-show": {},
"php-hide": {},
"php-switch": {},
"php-case": {},
"php-default": {},
"php-function": {},
"php-if": {},
"php-else": {},
"php-elseif": {},
"php-extends": {},
"php-block": {},
"php-literal": {},
"php-after": {},
"php-select": {},
"php-checked": {},
"php-model": {}
}
}
~~~