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 179588 - Add class import on autocompletion in JSP file
Summary: Add class import on autocompletion in JSP file
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: Other Linux
: P3 normal with 1 vote (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-16 14:51 UTC by benderamp
Modified: 2016-07-07 08:54 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 benderamp 2010-01-16 14:51:03 UTC
1. Create web application project
2. Open jsp file
3. Type some class name in the java code section - for example ArrayList
4. There would be error that this class can't be resolved
5. Ctrl+tab at the class name end for autocompletion - java.utilArrayList would be listed among available options
6. Press enter on java.util.ArrayList autocomplete item

Result: nothing happens - the class is not imported

Expected result: java.util.ArrayList should appear in the "<%@page import=" section at the top of the file.
Comment 1 Marek Fukala 2010-01-16 15:18:35 UTC
Unfortunately the java refactoring is not enabled for java scriptlets in JSPs so far.
Comment 2 Martin Balin 2016-07-07 08:54:48 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