object BSP extends ExternalModule

Linear Supertypes
ExternalModule, BaseModule, define.Module, Cacher, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BSP
  2. ExternalModule
  3. BaseModule
  4. Module
  5. Cacher
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bspProtocolVersion: String
  6. def cachedTarget[T](t: => T)(implicit c: Enclosing): T
    Attributes
    protected[this]
    Definition Classes
    Cacher
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def createBspConnectionJson(jobs: Int): String
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. 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()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val languages: Seq[String]
  17. lazy val millDiscover: Discover[BSP.this.type]
    Definition Classes
    BSP → BaseModule
  18. implicit def millDiscoverImplicit: Discover[_]
    Definition Classes
    ExternalModule
  19. implicit def millImplicitBaseModule: Implicit
    Definition Classes
    BaseModule
  20. implicit def millModuleBasePath: BasePath
    Definition Classes
    BaseModule → Module
  21. lazy val millModuleDirectChildren: Seq[define.Module]
    Definition Classes
    Module
  22. implicit def millModuleExternal: External
    Definition Classes
    Module
  23. implicit def millModuleSegments: Segments
    Definition Classes
    ExternalModule → BaseModule → Module
  24. implicit def millModuleShared: Foreign
    Definition Classes
    Module
  25. def millOuterCtx: Ctx
    Definition Classes
    Module
  26. implicit def millScoptEvaluatorReads[T]: EvaluatorScopt[T]
  27. def millSourcePath: Path
    Definition Classes
    BaseModule → Module
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. val serverName: String
  32. 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()
  33. def startBspServer(initialEvaluator: Option[Evaluator], outStream: PrintStream, errStream: PrintStream, inStream: InputStream, logDir: Path, canReload: Boolean, serverHandle: Option[Promise[BspServerHandle]] = None): BspServerResult
  34. 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()
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    Module → AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. object millInternal extends Internal
    Definition Classes
    Module
    Annotations
    @Scaladoc()

Inherited from ExternalModule

Inherited from BaseModule

Inherited from define.Module

Inherited from Cacher

Inherited from AnyRef

Inherited from Any

Ungrouped