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 168291

Summary: XML tag completion for closing tag should still offer completion after I press forward slash
Product: xml Reporter: rdelaplante <rdelaplante>
Component: CodeAssignee: Svata Dedic <sdedic>
Status: RESOLVED WORKSFORME    
Severity: blocker CC: hmichel, mfukala
Priority: P3 Keywords: USABILITY
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description rdelaplante 2009-07-08 16:20:25 UTC
When editing XML I find that I type </ then wait for completion, and it always tells me that it has no suggestion. 
Today I realized that if I do not put the forward slash then it will offer suggestions.  Please make it offer completion
after I press the forward slash.
Comment 1 Jiri Kovalsky 2009-07-09 08:25:04 UTC
Marku, isn't this rather a defect?

If I create a new text.xml file, paste the following code, set caret at position 2:18 a press Ctrl+Space, Editor
displays "No suggestions".

<person>
    <name>Jirka</
</person>

I would appreciate your comment on this. Thanks.
Comment 2 Marek Fukala 2009-07-09 11:03:28 UTC
Yes, I would say the CC should offer the end tag after both < and </. But I do not work on the XML support for few years ;-)
Comment 3 Svata Dedic 2011-11-15 13:18:59 UTC
WFM, CC is shown even if I put some whitespace after </ closing tag start sequence