c

scala.meta.internal.bsp

BspConnector

class BspConnector extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BspConnector
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BspConnector(bloopServers: BloopServers, bspServers: BspServers, buildTools: BuildTools, client: LanguageClient, tables: Tables, userConfig: () => UserConfiguration, statusBar: StatusBar, workDoneProgress: WorkDoneProgress, bspConfigGenerator: BspConfigGenerator, currentConnection: () => Option[BuildServerConnection], restartBspServer: () => Future[Boolean], bspStatus: ConnectionBspStatus)(implicit ec: ExecutionContext)

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. def connect(buildTool: Option[BuildTool], workspace: io.AbsolutePath, userConfiguration: UserConfiguration, shellRunner: ShellRunner)(implicit ec: ExecutionContext): Future[Option[BspSession]]

    Handles the connection to the build server.

    Handles the connection to the build server. This assumes that all information that it needs is already in place by either having a workspace that can work with Bloop or a workspace that already has a bsp entry. In the case that a user is switching build servers the generation of the bsp entry has already happened at this point.

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  15. def resolve(buildTool: Option[BuildTool]): BspResolvedResult

    Resolves the current build servers that either have a bsp entry or if the workspace can support Bloop, it will also resolve Bloop.

  16. def switchBuildServer(workspace: io.AbsolutePath, createBloopAndConnect: () => Future[BuildChange]): Future[Boolean]

    Runs "Switch build server" command, returns true if build server choice was changed.

    Runs "Switch build server" command, returns true if build server choice was changed.

    NOTE: that in most cases this doesn't actually change your build server and connect to it, but stores that you want to change it unless you are choosing Bloop, since in that case it's special cased and does start it.

  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped