You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "flexJoly (Jira)" <ji...@apache.org> on 2020/07/28 12:18:00 UTC

[jira] [Created] (NETBEANS-4649) Codecompletion in Plain php-html template

flexJoly created NETBEANS-4649:
----------------------------------

             Summary: Codecompletion in Plain php-html template
                 Key: NETBEANS-4649
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4649
             Project: NetBeans
          Issue Type: Bug
          Components: editor - Completion &amp; Templates, php - Code, web - HTML Editor
            Reporter: flexJoly
             Fix For: 11.3, 12.0


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*

That works ok. But I tried to make a code-template: for '<?= ${cursor}; ?>' . I tried to put it in: php, html, plain text etc.
 Should be easy.... and it is. But really.... it WON'T show up in the code.

I tried .phtml and other extensions. Tried to change the file-type in the options to: text/x-php, html, template etc....

See: [https://netbeans.apache.org/kb/docs/php/code-templates.html#_use_case_inserting_php_into_html]
 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 :D) but every macro needs an shorcut to work..... pppfff



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists