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 224257

Summary: XML-Editor: Automatically remove end tags when creating self-closing tags
Product: xml Reporter: markiewb
Component: Text-EditAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Config option in eclipse

Description markiewb 2012-12-27 13:26:46 UTC
[ BUILD # : 201212260001 ]
[ JDK VERSION : 1.7.0_09 ]

* take this sample
{{{
<bean id="bla" class="Foo"|></bean>
}}}
* type / (forward-slash)
ACTUAL:
<bean id="bla" class="Foo"/></bean>
EXPECTED:
<bean id="bla" class="Foo"/> (the closing tag is removed, i liked this feature
in 
Eclipse - see screenshot)
Comment 1 markiewb 2012-12-27 13:27:38 UTC
Created attachment 129720 [details]
Config option in eclipse