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.
[#200710281200, jdk1.5.0] to reproduce: ------------- 1) have a .jsp like: <html><body> <h3> <%= "Hello"%> </| </body></html> NOTE: | represents cursor 2) invoke CC ERROR: CC offers only </html> end tag instead of </h3> (CC ideally should offer only the </h3>)
bracket matching also doesn't work over scriptlet sections: use this code: ----------------- <table> <% %> </ta|ble> ---------------- set cursor possition at place of "|" -> start <table> tag is no highlighted and it's not possible to jump between start and end tag using Ctrl + [
*** Issue 121044 has been marked as a duplicate of this issue. ***
reoroducible, it's a cause of issue #121046
*** Issue 121333 has been marked as a duplicate of this issue. ***
End tag is one thing, but inside an HTML tag, there are many possible attributes . Problem is that the CC for HTML attributes is also broken after an inside scriptlet. try this : <input type="text" value="<%="1"%>" name="test" > before the [value] attribute : the HTML CC works fine after the [value] attribute : the ide shows the javascript CC! This HTML attribute CC is a very important feature, at least P2 according to me. Thanks.
I am aware of the problem. There will be completely rewriten html parsing support in 6.1 which already handles the embedding problems.
This should really be fixed, it is very unpleasant - it likely involves either fixing the legacy html completion code or migration to html parser.
moving opened issues from TM <= 6.1 to TM=Dev
tags matching works now, the </h3> completion still doesn't <input type="text" value="<%="1"%>" name="test" > also reproducible
fixed by switching the code to joined token sequences. changeset: 99651:dfdbf3626f58 tag: tip user: Marek Fukala <mfukala@netbeans.org> date: Wed Sep 03 12:05:52 2008 +0200 summary: #120381 - Broken HTML end tag CC with embeded scriplet
Integrated into 'main-golden', will be available in build *200809031401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/dfdbf3626f58 User: Marek Fukala <mfukala@netbeans.org> Log: #120381 - Broken HTML end tag CC with embeded scriplet
verified. NetBeans IDE Dev (Build 200809061401)