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 49202 - [50cat] No CC for JSP expressions
Summary: [50cat] No CC for JSP expressions
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker with 1 vote (vote)
Assignee: issues@javaee
URL:
Keywords:
: 82642 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-17 12:39 UTC by cezariusz
Modified: 2016-07-07 08:55 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 cezariusz 2004-09-17 12:39:50 UTC
Build 200409151800.

When I type "<%" there is no "<%=" entry on the 
code completion list. There are only: include, 
page, taglib.

I would expect an "<%=" entry to insert the 
following code:
<%=|%>
where | represents caret position.
Comment 1 cezariusz 2004-09-17 12:41:05 UTC
Actually, to be consistent, the entry on the CC list should look 
like this: "<%=%>".
Comment 2 Petr Jiricka 2004-09-17 13:02:54 UTC
Yep, I agree. Should work for all of the following:

<%= %>
<% %>
<%! %>
<%-- --%>
<!-- -->  (after typing < )
${ }    (after typing $ )

Comment 3 Petr Pisl 2004-09-17 13:06:02 UTC
I'm sorry, but we are not able to fix this in the 4.0. There is
missing <%! %> as well. We need rewrite a part of the code
completotin, so it can be done in prome-e.
Comment 4 cezariusz 2004-09-17 13:09:37 UTC
Pardon the ignorance, but what is "promo-E"?
Comment 5 Petr Pisl 2004-09-17 13:15:17 UTC
Promo-E will be next release of netbeans. Netbeans 4.0 is promo-D, so
we can expect that promo-E will be Netbeans 4.1. 

I'm only thinking, that adding this functionality should be risky for
this release. So I suggest to add this in the next release.
Comment 6 cezariusz 2004-09-17 13:22:52 UTC
According to the roadmap, work on the 4.1 version has already 
started. Is that true, and if so, is it possible to download 4.1 
preview?
Comment 7 cezariusz 2005-03-03 11:34:14 UTC
Back to subject, now that I'm testing 4.1.
Comment 8 Marek Fukala 2005-03-03 13:25:35 UTC
I will take a look at it. However Cezariusz, I do not understand your
last comment much :-(
Comment 9 cezariusz 2005-03-03 13:29:33 UTC
You mean "Back to subject, now that I'm testing 4.1."?
That means, that while testing various features for NetCAT program, 
I've recalled that old issue again, so I've added 41cat prefix.
Comment 10 Marek Fukala 2005-03-03 13:40:32 UTC
Yep, I ment that one :-). I missed the summary change. Thanks. 
Comment 11 cezariusz 2005-09-29 11:39:08 UTC
Still doesn't work in build 200509251800.
Interesting thing, when I type "<", on the CC list there are entries like "<%
@include %>", "<%@page %>", but when I add "%", the list becomes empty. So 
having "<%" when I call CC a get "No suggestions" even if there were 3 items 
matching.
Comment 12 Marek Fukala 2005-10-03 10:33:26 UTC
The problem with <% CC prefix not offering anything is caused by the new CC API
adoption. Should be fixed to 5.0
Comment 13 Marek Fukala 2005-10-13 10:55:30 UTC
Partially fixed - the <%| + CC now correctly offer the jsp directives. I will
try to add following items into the CC to 5.0:

<% %>
<%= %>
<%! %>
<%-- --%>
<!-- -->  
<%-- -->
${ }

Comment 14 Jiri Kovalsky 2005-10-19 10:24:29 UTC
Can somebody investigate if the new code completion API allows to fix this easily ?
Comment 15 Marek Fukala 2005-11-29 12:44:41 UTC
No time for this now, it is also potentially dangerous change. Moreover it never
worked - it is rather an enhancement.
Comment 16 Marek Fukala 2006-08-21 13:27:35 UTC
*** Issue 82642 has been marked as a duplicate of this issue. ***
Comment 17 Marek Fukala 2008-10-13 10:30:19 UTC
<% %>
<%= %>
<%! %>

already works, the rest needs to be done:

<%-- --%>
<!-- -->  
<%-- -->
${ }
Comment 18 Marek Fukala 2008-11-12 10:51:13 UTC
Doesn't seem to be much useful.
Comment 19 Martin Balin 2016-07-07 08:55:10 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss