jsp imports insert / formatting

A couple items related to jsp imports:

There is the Settings->Global Code Style->Imports->JSP
imports layout -> Prefer one import statement per page that
will let you choose to have imports like this:

<%@ page import="java.io.FileInputStream,
java.io.FileReader" %>

or like this:

<%@ page import="java.io.FileInputStream" %>
<%@ page import="java.io.FileReader" %>


When the import popup appears, if you hit ALT+ENTER to have
IDEA insert an import statement for you, it respects this
setting.
(Jira http://www.jetbrains.net/jira/browse/IDEABKL-180
should be marked fixed.)

However, if I reformat the JSP page, it does not modify the
JSP import statements to match the code style setting. (
Jira bug http://www.jetbrains.net/jira/browse/IDEA-2940 )


Also, I was expecting that we could have IDEA auto-collapse
the JSP imports by default, but I don't see this feature
available as of build 3419. I couldn't find a Jira request
for this either.

Please sign in to leave a comment.