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 - No code templates inside code completion
Summary: No code templates inside code completion
Status: RESOLVED DUPLICATE of bug 250321
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 8.1
Hardware: PC Other
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-10 07:17 UTC by Christian Lenz
Modified: 2016-10-14 07:50 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***