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 217475 - JSP Editor Missing Context Menu Items when Editing Java
Summary: JSP Editor Missing Context Menu Items when Editing Java
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-27 14:59 UTC by mark_barnes
Modified: 2016-07-07 08:54 UTC (History)
0 users

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 mark_barnes 2012-08-27 14:59:58 UTC
Product Version = NetBeans IDE 7.2 (Build 201207171143)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_05
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.1-b03

When editing a JSP file, and working in Java code in that JSP file, when a Java class/method/field/etc is under the caret, various context menu items that are available when editing a Java source file are completely missing. 

- Navigate -> Go to Source
- Navigate -> Go to Declaration
- Navigate -> Go to Super Implementation
- Navigate -> Go to Implementation
- Show Javadoc
- Find Usages
- Insert Code
- Fix Imports
etc.

I don't know, but is it the same when working in other file types where Java can be embedded?  JSF, for instance?

Many people work in both Java and JSP files.  When editing Java code, I believe it is more than reasonable to expect the editor to work the same regardless of the location of the code.  The lack of this functionality is usability problem, and it is all the more visible -- and more frustrating -- when it is so readily available at other times.  This could cause users to reject Netbeans when choosing an IDE.
Comment 1 Milutin Kristofic 2012-11-08 17:53:25 UTC
Responsibility for JSP editor.
Comment 2 Martin Balin 2016-07-07 08:54:31 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