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 7883 - [completion]The JSP code completition doesn't work well with closing tags.
Summary: [completion]The JSP code completition doesn't work well with closing tags.
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC All
: P4 minor (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-12 08:46 UTC by Marek Fukala
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The exception from console. (2.47 KB, text/plain)
2000-10-12 08:47 UTC, Marek Fukala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2000-10-12 08:46:26 UTC
For example write following:

<form>
</   ...and try to invoke CC.


=>
</form> is not in list of possibilities and an exception is throwed into
console.
Comment 1 Marek Fukala 2000-10-12 08:47:59 UTC
Created attachment 190 [details]
The exception from console.
Comment 2 _ rkubacki 2000-11-28 19:26:59 UTC
JSP closing tags are offered correctly now. HTML tags aren't. It must be fixed
in editor module.
Comment 3 Marek Fukala 2000-11-28 19:36:59 UTC
Could you add a build number or branch? I should verify if the bug is fixed.
Thank you.
Comment 4 _ rkubacki 2000-11-28 20:26:59 UTC
*** Bug 8406 has been marked as a duplicate of this bug. ***
Comment 5 Jan Lahoda 2001-01-24 15:34:59 UTC
Only changed version to Development.
Comment 6 Jan Chalupa 2001-03-12 10:37:44 UTC
Version: 'Dev' -> 3.2
Comment 7 Martin Roskanin 2001-04-10 08:55:55 UTC
This bug appeared in the following situations:

1)If some previous closing tag is in low case
  Example:
   <HTML>
   <BODY>
   </body>
   </  ... invoke CC ... there are no results ...

2)If some previous EMPTY tag has closing tag. Of course, this is not right, but 
we should be able to handle that correctly. 
Example:
<HTML>
<IMG> </IMG>
</ ... invoke CC ... there are no results ... (it should offer HTML closing tag)

3) If some previous closing tag is not valid.
Example:
<HTML>
</ERR>
</ ... invoke CC ... there are no results ... 

Note that this works:
<HTML>
<ERR>
</ ... invoke CC

I am going to fix it.


Comment 8 Martin Roskanin 2001-04-10 13:20:23 UTC
fixed in [maintrunk]

For items 2 and 3 from my comments from 2001-04-10 00:55, has been created 
an enhancement:
http://www.netbeans.org/issues/show_bug.cgi?id=11254
Comment 9 Jan Chalupa 2001-05-05 22:10:07 UTC
Target milestone -> 3.2
Comment 10 Quality Engineering 2003-06-30 18:01:05 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 11 Quality Engineering 2003-06-30 18:08:17 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.