History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-12952
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Maxim Shafirov
Reporter: Alexander Chernikov
Votes: 3
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Add imports on the fly option does not work for JSP

Created: 29 Dec 06 15:57   Updated: 01 Feb 08 21:39
Component/s: Editor. Editing Text, J2EE.JSP
Fix Version/s: Diana Final

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Duplicate
 
This issue is duplicated by:
IDEA-15291 Add unambiguous imports on the fly do... Closed

Build: 6,620


 Description  « Hide
Make sure you have Settings / Editor / Add unambigous imports on the fly = ON.
Type a JSP file like:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head><title>Simple jsp page</title></head>
  <body>
  <%! private File file = new File("anything"); %>
  </body>
</html>

While typing "File" or any other type name JSP imports are not inserted.
In java the option works.



 All   Comments   Work Log   Change History      Sort Order:
Alexander Chernikov - 01 Feb 08 21:39
8142. Now the option is in Settings / Code Style / Imports. Bug still happens.