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: | XMLEditor suggest end-tag when enterin text in a property value | ||
---|---|---|---|
Product: | xml | Reporter: | akobberup |
Component: | Code | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 8 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
screenshot
Screenshot #2 |
Created attachment 151066 [details]
Screenshot #2
The issue actually is not only when editing a property.
In the screenshot example the editor start suggesting that i should insert a close-tag for the parent-node to the one i am typing - even thou the parent node is closed correctly below.
Can't reproduce on a dev build; when invoking CC after tag name (without >), nothing is offered. Could you please provide exact files + what exact plugin/version do you use for GWT development ? I just tried again, and as you i can no longer reproduce the issue. For the record i do not use any plugin for gwt development - so the issue were in the general xml editor. Thanks for looking into this. |
Created attachment 151065 [details] screenshot The XML Editor is pretty aggressive insisting that an end tag is inserted, even if i am editing a text attribute on an node. As i use code templates in my xml, and thus often hit enter while editing an attribute, a close tag is inserted inside the attribute value text. It makes sense that a close / end tag is inserted, but it should not be suggested when editing an attribute. Product Version: NetBeans IDE Dev (Build 201412090001) Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b18 System: Windows 8 version 6.2 running on amd64; Cp1252; da_DK (nb)