Import cleaning is too aggressive
Let's consider this code :
This code compiles and has no unnecessary import.
The problem is that if I press "ctrl-shit-o", then, Scala-IDE removes the following import
And then, the code can no longer be compiled :-/
package io.gatling.recorder.scenario
import org.specs2.mutable.Specification
import org.specs2.runner.JUnitRunner
import org.junit.runner.RunWith
@RunWith(classOf[JUnitRunner])
class ScenarioSpec extends Specification {
}
This code compiles and has no unnecessary import.
The problem is that if I press "ctrl-shit-o", then, Scala-IDE removes the following import
import org.specs2.runner.JUnitRunner
And then, the code can no longer be compiled :-/
Leave a comment