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 is enough clear. here an example: a start-tag like this <aAAa> has been closed as </aaaa>.
As for HTML editor the completion case is detected according to first letter of the completed matched tag. For example if you have: <BODY> </ ...cc will offer </BODY> for <body> it offers </body> Using of mixed-case tag names like <bODY> in HTML documents doesn't make much sense to me. OTOH it make sense in XML, so reassigning this issue to XML for evaluation. For me (html) the resolution is WONTFIX (it is a P5 enhancement at most).
In the world of JSF, which is used with XHTML and JSP, it makes sense. Example: <h:selectManyListbox>
yes, for JSF it make sense, I talked about *HTML* tags, not about JSP tags. It works for them if they are properly declared in the JSP file.
i know you talk about HTML (JSP was just an example besides XHTML). The question is: What about XHTML? Is XHTML part of Netbeans? If yes, who can fix this?
*** Issue 123480 has been marked as a duplicate of this issue. ***
Specific to HTML/XHTML.
I am not sure how it behaves in xml now, but I'll add a doctype test and make the cc case sensitive for xhtml.
simillar problem can also appear for unresolved library situation: I have delcared a taglib directive, but the taglib is not found by IDE -> jsp tags are not recognized correctly and they are marked as HTML tags, but the case sensitivity is important in this situation either for HTML (JSP) files
jsedek, I'll add a special check for namespaces into the html completion so tags containing namespace prefix will be case sensitive. for xhtml the case sensitivity will be default as well. I hope this satisfy all of you.
Not sure whether you are aware of it, but there is another possibly unexpected behavior - if you for example type <bOD and invoke the completion, the <bOD text is removed and replaced by <body> from the completion. I am not saying this is a bug, just informing you so you can protest if you find it a problem.
fixed the proposed way * html tags completion always follow the previous tag case * xhtml completion is always lowercase * non-html end tags are now offered in the completion, preserving original case + bonus ;-) end tag autocompletion is not so agresive (autocompletes the text) if one invokes completion just behing an open tag. changeset: 98716:78300fe5620d tag: tip user: Marek Fukala <mfukala@netbeans.org> date: Thu Aug 28 17:04:08 2008 +0200 summary: #108560 - HTML/XHTML Closing-Tag Auto-Completion Feature must be case sensitive
Integrated into 'main-golden', available in build *200808300201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/78300fe5620d User: Marek Fukala <mfukala@netbeans.org> Log: #108560 - HTML/XHTML Closing-Tag Auto-Completion Feature must be case sensitive
verified NetBeans IDE Dev (Build 201002080200)