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 217319 - JSP editor is a lacking too many IDE features
Summary: JSP editor is a lacking too many IDE features
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P3 normal with 1 vote (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-23 15:42 UTC by janicki
Modified: 2016-07-07 08:55 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 janicki 2012-08-23 15:42:42 UTC
When editing Java files, if I move the cursor to a Java class or method name, the Javadoc window updates to show the associated doc, if available.  (I love that.)  When doing the same in a JSP file, the Javadoc window remains empty.  

Java code completion and syntax formatting works fine in JSPs, so the editor seems to recognize the Java code embedded in the JSP, but it isn't passing the class/method info to the Javadoc window?
Comment 1 janicki 2012-08-25 21:26:03 UTC
In addition to the Javadoc window support noted previously, the JSP editor also lacks the following functionality which I really expected to apply to at least the Java portions of JSPs:

1. Code folding currently applies to JSP tags (e.g. <%…%>) but not individual Java methods within JSP sections.  (I support this would require nested code folding… Is that possible?)

2. Refactoring of even "basic" variable renaming, which is surprising because the JSP editor already successfully highlights all variable instances when the cursor is on one

3. "Find Usages" -- not available

4. "Go to Source", "Go to Declaration", etc. -- not available

5. The "Toggle Comment" toolbar buttons (even though the Source > Toggle Comment menu item works)

6. "Fix Imports" -- not available

7. Auto-indenting of braces, etc. is broken.   (Already noted in a separate bug report, but I just wanted to emphasize the overall attention that the JSP editor needs.)

8. Probably more… I only poked around for a few minutes.

Maybe some of those items are harder to implement than I think, but I guess I expected more complete JSP editor support from NetBeans since it already does the complicated stuff well (e.g. built-in app server deployment).

Surprisingly the support for editing Javascript files seems better.  For example the Javascript editor supports refactoring names, Go to Declaration, etc.

Sorry if I appear to be complaining about the great free tool that NetBeans is.  I just want to shine some light on this corner of it.
Comment 2 Martin Balin 2016-07-07 08:55:44 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