You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Christian Lenz (JIRA)" <ji...@apache.org> on 2018/02/15 17:13:00 UTC

[jira] [Updated] (NETBEANS-395) Please add option to automatically add closing tag after close the start tag

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

Christian Lenz updated NETBEANS-395:
------------------------------------
    Component/s: xml - Text-Edit
                 web - HTML Editor

> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists