This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 260755

Summary: No code templates inside code completion
Product: web Reporter: Christian Lenz <chrizzly>
Component: HTML EditorAssignee: Milutin Kristofic <mkristofic>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Other   
Issue Type: ENHANCEMENT Exception Reporter:

Description Christian Lenz 2016-05-10 07:17:26 UTC
I created a new code template called "tester" and this is the code:

<div>Only a test</div>

when I type "tester" inside a html file then I couldn't see the code template "tester". I can hit tab and of course it works.

I thought it is not working for code templates, which I created by my self but I tried "html" for the html block with body and head and there is no code completion for html too. So I think the code completion for code templates for html is broken/missing. 

When I type "html" and hit tab, the code template works. When I type "html" and wait for the code completion there is no suggestion for this.


I created a ticket for missing code templates inside code completion of javascript too: https://netbeans.org/bugzilla/show_bug.cgi?id=259167

and here is the fix of Petr Pisl: http://hg.netbeans.org/web-main/rev/12efdfd69406


So please add those code templates to the code completion for html and xml too, I think for xml it is missing too but didn't test it yet.


Regards

Chris
Comment 1 Christian Lenz 2016-10-14 07:50:07 UTC

*** This bug has been marked as a duplicate of bug 250321 ***