Win2k sp1, jdk 1.3.1_02, IDEA #602:

Say I have the following in a JSP (the pipe after the scriptlet opener marks
where the cursor is):

   <html>
   <head>
   <title>Test</title>
   </head>
   <body>
   <%|
      String whatItIs = "test";
   %>
   This is a <%= whatItIs %>.
   </body>
   </html>

If i type ENTER when the cursor in on the open scriptlet line, IDEA opens
another scriptlet block and I get:

   <html>
   <head>
   <title>Test</title>
   </head>
   <body>
   <%
      |
   %>
      String whatItIs = "test";
   %>
   This is a <%= whatItIs %>.
   </body>
   </html>

It's minor, I know, but any chance it could just add a new line (with the
cursor indented properly) between the scriptlet opener and the "String"
line?

thanks,

chris

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to