[ https://issues.apache.org/jira/browse/NETBEANS-395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16365955#comment-16365955 ]
Christian Lenz commented on NETBEANS-395: ----------------------------------------- Should be possible for HTML, XHTML and XML as well. > Please add option to automatically add closing tag after close the start tag > ---------------------------------------------------------------------------- > > Key: NETBEANS-395 > URL: https://issues.apache.org/jira/browse/NETBEANS-395 > Project: NetBeans > Issue Type: Improvement > Components: web - HTML Editor, xml - Text-Edit > Affects Versions: Next > Reporter: Christian Lenz > Priority: Major > Attachments: visualStudioEndTagCompletion.gif > > > In Visual Studio (Attachment: Visual Studio endtag completion) you can see > that, when I type: "<div" and then type ">" (Without quotes) I don't get a > popup which shows me the end tag, it will add the end tag automatically, > which is very nice. > For my perspective, many people will write the start tag and the end tag > after this so why do we need the extra popup? with only one entry? For those > who don't want/need it, it would be nice if we can have an option for (X)HTML > and XML to enable/disable: Add end tag automatically. And if you have divs, > and you forgot a parent element, so you will surround the code. So in my > opinion, there won't be big problems for this very nice enhancement. > Same exists in WebStorm and I guess in VS Code too. > The current behaviour is: type "<div" and after this type ">" and the code > completion popup comes up with only one entry, the closing tag. This is not > needed in my perspective. > If so, then we should make it optional with an option like: "Enable > automatically closing end tags" or whatever. > This will make you much more productive. > Regards > Chris -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- 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