[jira] [Updated] (NETBEANS-4649) Codetemplate in Plain php-html

2020-11-14 Thread Junichi Yamamoto (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-4649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junichi Yamamoto updated NETBEANS-4649:
---
Attachment: netbeans-4649-cc.png

> Codetemplate  in Plain php-html 
> 
>
> 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
>
> Attachments: OrderList_demo.tpl.php, 
> image-2020-07-28-15-33-13-351.png, image-2020-07-28-15-36-26-205.png, 
> image-2020-07-28-15-39-01-238.png, netbeans-4649-cc.png, 
> netbeans-4649-codetemplates-html-options.png
>
>
> 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 '' .
> As suggested in: 
> [https://netbeans.apache.org/kb/docs/php/code-templates.html#_use_case_inserting_php_into_html]
> !image-2020-07-28-15-33-13-351.png|width=449,height=383!
> 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
> !image-2020-07-28-15-36-26-205.png|width=464,height=417!
>  
> 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 :D) but every 
> macro needs an shorcut to work. pppfff
>  
>  
> How to get the codetemplate '' show up in a php/html file ??
>  



--
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



[jira] [Updated] (NETBEANS-4649) Codetemplate in Plain php-html

2020-11-14 Thread Junichi Yamamoto (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-4649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junichi Yamamoto updated NETBEANS-4649:
---
Attachment: netbeans-4649-codetemplates-html-options.png

> Codetemplate  in Plain php-html 
> 
>
> 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
>
> Attachments: OrderList_demo.tpl.php, 
> image-2020-07-28-15-33-13-351.png, image-2020-07-28-15-36-26-205.png, 
> image-2020-07-28-15-39-01-238.png, netbeans-4649-cc.png, 
> netbeans-4649-codetemplates-html-options.png
>
>
> 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 '' .
> As suggested in: 
> [https://netbeans.apache.org/kb/docs/php/code-templates.html#_use_case_inserting_php_into_html]
> !image-2020-07-28-15-33-13-351.png|width=449,height=383!
> 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
> !image-2020-07-28-15-36-26-205.png|width=464,height=417!
>  
> 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 :D) but every 
> macro needs an shorcut to work. pppfff
>  
>  
> How to get the codetemplate '' show up in a php/html file ??
>  



--
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



[jira] [Updated] (NETBEANS-4649) Codetemplate in Plain php-html

2020-07-28 Thread flexJoly (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-4649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

flexJoly updated NETBEANS-4649:
---
 Attachment: image-2020-07-28-15-33-13-351.png
 OrderList_demo.tpl.php
 image-2020-07-28-15-36-26-205.png
 image-2020-07-28-15-39-01-238.png
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 '' .

As suggested in: 
[https://netbeans.apache.org/kb/docs/php/code-templates.html#_use_case_inserting_php_into_html]

!image-2020-07-28-15-33-13-351.png|width=449,height=383!

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

!image-2020-07-28-15-36-26-205.png|width=464,height=417!

 

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 :D) but every macro 
needs an shorcut to work. pppfff

 

 

How to get the codetemplate '' show up in a php/html file ??

 

  was:
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 '' . 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

Summary: Codetemplate  in Plain php-html   (was: Codecompletion in 
Plain php-html template)

> Codetemplate  in Plain php-html 
> 
>
> 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
>
> Attachments: OrderList_demo.tpl.php, 
> image-2020-07-28-15-33-13-351.png, image-2020-07-28-15-36-26-205.png, 
> image-2020-07-28-15-39-01-238.png
>
>
> 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 '' .
> As suggested in: 
> [https://netbeans.apache.org/kb/docs/php/code-templates.html#_use_case_inserting_php_into_html]
> !image-2020-07-28-15-33-13-351.png|width=449,height=383!
> 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
> !image-2020-07-28-15-36-26-205.png|width=464,height=417!
>  
> 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 :D) but every 
> macro needs an shorcut to work. pppfff
>  
>  
> How to get the codetemplate '' show up in a php/html file ??
>  



--
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