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 85957 - JSP Editor Code-Completion fails to recognise custom tag IDs
Summary: JSP Editor Code-Completion fails to recognise custom tag IDs
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on: 120833
Blocks:
  Show dependency tree
 
Reported: 2006-09-27 20:35 UTC by ssoong
Modified: 2016-07-07 08:53 UTC (History)
2 users (show)

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 ssoong 2006-09-27 20:35:58 UTC
NetBeans 5.5 Dev (Build 20060926 0000)
Java HotSpot(TM) Client VM 1.5.0_05-b05
Windows XP version 5.1 running on x86
=======================================

In response to issue 85838, I downloaded and installed the latest NB 5.5.

Code completion in NB 5.5 JSP editor does not recognise custom tag IDs.
e.g. the jsp:

========================================================
<%@ taglib uri="/WEB-INF/text-taglib.tld" prefix="tx"%>

<tx:text id="shlepcrab" scope="request">
How much crap could a crap crab grab
should a crab crab crept and grabbed
to shlep its crap
</tx:text>

<%= shlepcrab.[cursor]toString() %>
========================================================

Press [ctrl-space] at [cursor] and the response was "no suggestion".
In earlier versions of nb5 (or even nb6) I could get code completion pop-up 
menu. [f9] compiled the jsp without errors even though the editor did not 
recognise <%= shlepcrab.toString() %> .

*note~ tx:text is a simple jsp custom tag I wrote to allow multi-line blocks 
of text to be constructed without using the annoying string concat 
of "{string1}" + "{string2}" + ....
Comment 1 Tomasz Slota 2006-11-15 17:52:43 UTC
taking over
Comment 2 Tomasz Slota 2007-11-01 16:10:23 UTC
It probably involves too much work to be done for 6.0. Note that this issue gets more serious as now we will be underline references to those variables with 
an error stripe
Comment 3 Jiri Prox 2008-04-11 01:13:25 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 4 Marek Fukala 2010-05-13 14:21:21 UTC
this is not a bug but enhancement imho
Comment 5 Martin Balin 2016-07-07 08:53:06 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