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 119357 - go to source and go to declaration doesn't work
Summary: go to source and go to declaration doesn't work
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: Sun All
: P4 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
: 119356 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-18 14:15 UTC by Jindrich Sedek
Modified: 2016-07-07 08:53 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2007-10-18 14:15:52 UTC
Create some JSP file
use this code:
----------------------
        <%
            String str = new String();
        %>
        <% s|tr.concat("AHOJ"); %>
----------------------
set cursor possition at possition of "|"
use menu/Navigate -> go to source and go to declaration is disabled for scriptlets
Comment 1 Jindrich Sedek 2007-10-18 14:17:02 UTC
*** Issue 119356 has been marked as a duplicate of this issue. ***
Comment 2 Jan Lahoda 2007-10-22 14:11:42 UTC
Well, I do not think Java can currently do anything about the top-level menu. Hyperlinks do work in scriptlets (after
the fix below), so everything on Java side is done. If someone will call the hyperlinks, (Java) GoToSupport or Java
actions to perform the work, it should work. But we cannot bind these actions to the main menu actions when the top
level language is JSP. Sorry.

Checking in layer.xml;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/resources/layer.xml,v  <--  layer.xml
new revision: 1.27; previous revision: 1.26
done
Comment 3 Marek Fukala 2007-10-30 11:55:05 UTC
java in jsp => tomasz. BTW since the hyperlink works, I do not consider this issue as serious which needs to be fixed in 6.0
Comment 4 Tomasz Slota 2007-10-30 17:08:20 UTC
adjusting priority after consulting our QE experts (jsedek and mschovanek)
Comment 5 _ proxity 2009-10-02 11:51:58 UTC
I vote for this!
A lot more is missing when editing scriptlets in JSPs. To name only some from the context menu:

- Navigation
- Show Javadoc
- Find Usages
- Insert Code
- Refactor
Comment 6 Martin Balin 2016-07-07 08:53:59 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