class BspConnector extends AnyRef
- Alphabetic
- By Inheritance
- BspConnector
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new BspConnector(bloopServers: BloopServers, bspServers: BspServers, buildTools: BuildTools, client: LanguageClient, tables: Tables, userConfig: () ⇒ UserConfiguration, statusBar: StatusBar, bspConfigGenerator: BspConfigGenerator, currentConnection: () ⇒ Option[BuildServerConnection])(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( ... ) @native()
-
def
connect(workspace: io.AbsolutePath, userConfiguration: UserConfiguration)(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: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
resolve(): 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 actaully change your build server and connect to it, but stores that you want to chage 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(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()