A Scala 2.12.x compiler plugin for contexts. You can write
x ⊢ { // arbitrary code }
and this will be rewritten to
{
val inside_local_0 = x
import inside_local_0._
// arbitrary code
}
Add to your build
addCompilerPlugin("ohnosequences" %% "contexts" % version)
This plugin is a simple modification of mpilquist/local-implicits.