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.
Summary: | Show code templates in code completion for HTML/XHTML/XML files | ||
---|---|---|---|
Product: | web | Reporter: | colerend |
Component: | HTML Editor | Assignee: | Milutin Kristofic <mkristofic> |
Status: | CLOSED INVALID | ||
Severity: | normal | CC: | chrizzly, markiewb, ppisl |
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
colerend
2015-02-10 07:52:06 UTC
In JS files, it is supported since NetBeans 8.2. HTML is still missing :/ *** Bug 260755 has been marked as a duplicate of this bug. *** (In reply to ChrisLE from comment #1) > In JS files, it is supported since NetBeans 8.2. HTML is still missing :/ If this is supported in the JS editor - how do I actually alter the code-completion for JavaScript? I don't really have much need for this, because the JS support is damn near spot on, but for my own curiosity how would it be done? Also, I'm a little amazed nothing new has happened on this topic. Using code-completion in HTML-editor, and selecting for example "<span>" from the popup, still leaves me hanging with an ugly- and incomplete "<span" to continue with. Surely this behavior must be modifiable ? Thix ticket is not for altering the code completion for JS. If you want so, please ask in the forum or have a look here: https://netbeans.org/community/lists/top.html#dev if you want to add such functionality for HTML/XHML/XML to the NB core, please have a look in this ticket, how Petr Pisl did this: https://netbeans.org/bugzilla/show_bug.cgi?id=259167 So the altering of JS code completion is a really other topic than this. I would prefer to change this ticket to DEFECT instead of ENHANCEMENT(?) Maybe the context is missing for HTML code templates. I have a plugin and HTML-Code is not working. Can someone give me the right context? I hope that there is a context, like in PHP and JavaScript. It is php-code and JavaScript-code. Anything new here? We need a consistency to all languages. You can set the context of PHP and JS, I think for Java too, so wee need to set this for HTML too. Otherwise, plugins which add code template are not working. Ok they will work, but a template like this: a-ngFor-trackBy is not easy to know. I created the ticket at Apache Jira now: https://issues.apache.org/jira/browse/NETBEANS-95 if there is no other objection, I will close this ticket here, because it is already referenced in the other ticket. As mentioned before, I created a ticket in the Apache Jira board. |