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 20918 - Code completion for JSPs should include page directives with just <
Summary: Code completion for JSPs should include page directives with just <
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: -FFJ-
Hardware: PC All
: P4 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-27 01:26 UTC by jhoffman
Modified: 2004-09-14 14:22 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jhoffman 2002-02-27 01:26:02 UTC
The list of items that appears in the JSP editor when the open brace "<" is entered
contains "jsp" items and HTML items, but no JSP page directives.  Also, entering "<%" shows 
no code completion items.

It should have the following:

<%
<%@page
<%@taglib
<%@include
Comment 1 _ rkubacki 2002-02-27 12:39:21 UTC
Than you probably want to add <%= and <%!. This will make writing of
scriplets more complicated. I am not sure if it is a good idea.
Comment 2 jhoffman 2002-02-27 16:31:13 UTC
I think that the absense of the directives will be perceived as 
a bug.  I don't agree with changing this to an enhancement and 
lowering the priority so much.  These would be much more useful 
in the code completion list than "<b>" for example.
Comment 3 Marek Grummich 2002-07-22 12:05:54 UTC
Set target milestone to TBD
Comment 4 Marek Grummich 2002-07-22 12:12:37 UTC
Set target milestone to TBD
Comment 5 zikmund 2004-09-14 14:22:27 UTC
Fixed in NetBeans 4.0.
Both < and <% offer full code completion.