Automatic imports on copy pasted code
When one pastes some code into the Scala source editor which comes from outside of the IDE (for example a code snippet found on the Internet) it would be useful if all necessary imports are done automatically.
For example if one pastes this code:
the import
should be inserted.
For example if one pastes this code:
val b = Buffer(1, 2, 3)
the import
import scala.collection.mutable.Buffer
should be inserted.
Leave a comment
on 2014-04-26 10:17 *
By Simon Schäfer
Eclipse version changed from Helios - Eclipse 3.6 to Kepler - Eclipse 4.3
Version changed from 2.1.0-nightly-210 to 3.0.2-210
Description changed from When one pastes some code i... to When one pastes some code i...
Move ticket to next milestone.