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 - XML tag completion for closing tag should still offer completion after I press forward slash
Summary: XML tag completion for closing tag should still offer completion after I pres...
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2009-07-08 16:20 UTC by rdelaplante
Modified: 2011-11-15 13:18 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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