facebook

A bug multiple imports and JSP formatter

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #212430 Reply

    Anaram
    Member

    This occurred in version 3.8GA (installed on clean eclipse 3)

    <%@ page language="java" import="java.util.regex.*,java.util.*"%>
    <% int a = 1; %>
    

    when formatted (right click -> format -> document)

    turns into:

    
    <%@ page language="java" import="java.util.regex.*;
    import jav"%>
    <%
            int a = 1;
        %>
    

    Something like this seems to happen as soon as there is more than one import (whether separated by comma or defined as import=”x” import=”y”) and ‘some’ other JSP code on the page.

    #212453 Reply

    Riyad Kalla
    Member

    I was able to reproduce this quite easily, thank you for the detailed report I will file it ASAP.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: A bug multiple imports and JSP formatter

You must be logged in to post in the forum log in