Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
We normally use Smarty. But we are exploring of having our own template engine (togeter with smarty for now)
So I made a file: orderlist.tpl.php (see in attachments)
I tried to make a code-template: for '<?= ${cursor}; ?>' .
As suggested in: https://netbeans.apache.org/kb/docs/php/code-templates.html#_use_case_inserting_php_into_html
I tried to put it in: php, html, plain text etc., with/without context etc
Should be easy.... and it is. But really.... it WON'T show up in the code.
Typing 'pe' and ctrl-space >>> no suggestions
I tried .phtml and other extensions for the file (like: orderlist.phtml). Tried to change the file-type in the options to: text/x-php, html, template etc....
I cannot get this to work....
In utter desperation I made my first macro in netbeans (never needed it before) and that works very nice (should have done this before ) but every macro needs an shorcut to work..... pppfff
How to get the codetemplate '<?= ${cursor}; ?>' show up in a php/html file ??
Attachments
Attachments
Issue Links
- is related to
-
NETBEANS-4576 Better support for HTML autocomplete attributes
- Closed