Project: JDT
Bug 52074 Organise Imports inserts blank lines when code formatter preferences is to clear blank lines
Reported: 2004-02-14 21:12:22 | Status: resolved fixed

I have Eclipse set up to clear all blank lines (which I think is the default Eclipse setting anyway) but when doing an Organise Import, the importer leaves a blank line between the top-level package name imports, e.g. import java.io.Something import java.util.SomethingElse import javax.ejb.Other import com.example.Another It would be useful if the Organise Imports didn't put a line in, if the code formatter preferences is to ignore all blank lines anyway.

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportsStructure.java