[ https://issues.apache.org/jira/browse/NETBEANS-4649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17166397#comment-17166397 ]
Junichi Yamamoto commented on NETBEANS-4649: -------------------------------------------- I'm not sure what you expect yet... Could you please write your exact steps to reproduce it? e.g. like the following # create something.php as a new file # write this: something... # do something *Expected result:* something... *Actual result:* something... > 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 & Templates, php - Code, web - > HTML Editor > Reporter: flexJoly > Priority: Major > Fix For: 12.0, 11.3 > > > 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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists