class BspConnector extends AnyRef
- Alphabetic
- By Inheritance
- BspConnector
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- 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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- 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.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- 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.
- 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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)