Organize imports doesn't always find all of the imports
Given the following file (using scalatest):
package foobar
import org.junit.runner.RunWith
import org.scalatest.FunSuite
import org.scalatest.junit.JUnitRunner
@RunWith(classOf[JUnitRunner])
class FoobarSpecTest extends FunSuite {
test("basic") {
assert(true === true)
}
}
If I hit ctrl-shift-o, then the import for JUnitRunner disappears. Hitting ctrl-shift-o brings it back again. And so on.
package foobar
import org.junit.runner.RunWith
import org.scalatest.FunSuite
import org.scalatest.junit.JUnitRunner
@RunWith(classOf[JUnitRunner])
class FoobarSpecTest extends FunSuite {
test("basic") {
assert(true === true)
}
}
If I hit ctrl-shift-o, then the import for JUnitRunner disappears. Hitting ctrl-shift-o brings it back again. And so on.
Leave a comment
on 2014-03-05 07:46 *
By huitseeker
Version changed from 3.0.0-210 to 3.0.2-210
Status changed from New to Duplicate