object BSP extends ExternalModule
- Alphabetic
- By Inheritance
- BSP
- ExternalModule
- BaseModule
- Module
- Cacher
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bspProtocolVersion: String
- def cachedTarget[T](t: => T)(implicit c: Enclosing): T
- Attributes
- protected[this]
- Definition Classes
- Cacher
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createBspConnectionJson(jobs: Int): String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def install(evaluator: Evaluator, jobs: Int = 1): Command[Unit]
Installs the mill-bsp server.
Installs the mill-bsp server. It creates a json file with connection details in the ./.bsp directory for a potential client to find.
If a .bsp folder with a connection file already exists in the working directory, it will be overwritten and a corresponding message will be displayed in stdout.
If the creation of the .bsp folder fails due to any other reason, the message and stacktrace of the exception will be printed to stdout.
- Annotations
- @Scaladoc()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val languages: Seq[String]
- lazy val millDiscover: Discover[BSP.this.type]
- Definition Classes
- BSP → BaseModule
- implicit def millDiscoverImplicit: Discover[_]
- Definition Classes
- ExternalModule
- implicit def millImplicitBaseModule: Implicit
- Definition Classes
- BaseModule
- implicit def millModuleBasePath: BasePath
- Definition Classes
- BaseModule → Module
- lazy val millModuleDirectChildren: Seq[define.Module]
- Definition Classes
- Module
- implicit def millModuleExternal: External
- Definition Classes
- Module
- implicit def millModuleSegments: Segments
- Definition Classes
- ExternalModule → BaseModule → Module
- implicit def millModuleShared: Foreign
- Definition Classes
- Module
- def millOuterCtx: Ctx
- Definition Classes
- Module
- implicit def millScoptEvaluatorReads[T]: EvaluatorScopt[T]
- def millSourcePath: Path
- Definition Classes
- BaseModule → Module
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val serverName: String
- def start(ev: Evaluator): Command[BspServerResult]
Computes a mill command which starts the mill-bsp server and establishes connection to client.
Computes a mill command which starts the mill-bsp server and establishes connection to client. Waits until a client connects and ends the connection after the client sent an "exit" notification
- ev
Environment, used by mill to evaluate commands
- Annotations
- @Scaladoc()
- def startBspServer(initialEvaluator: Option[Evaluator], outStream: PrintStream, errStream: PrintStream, inStream: InputStream, logDir: Path, canReload: Boolean, serverHandle: Option[Promise[BspServerHandle]] = None): BspServerResult
- def startSession(ev: Evaluator): Command[BspServerResult]
This command only starts a BSP session, which means it injects the current evaluator into an already running BSP server.
This command only starts a BSP session, which means it injects the current evaluator into an already running BSP server. This command requires Mill to start with
--bsp
option.- ev
The Evaluator
- returns
The server result, indicating if mill should re-run this command or just exit.
- Annotations
- @Scaladoc()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Module → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object millInternal extends Internal
- Definition Classes
- Module
- Annotations
- @Scaladoc()