scala.build.bsp

package scala.build.bsp

Members list

Packages

Type members

Classlikes

final class BloopSession(val inputs: Inputs, val inputsHash: String, val remoteServer: BloopCompiler, val bspServer: BspServer, val watcher: Watcher)

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object BloopSession

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
trait Bsp

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BspImpl
object Bsp

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Bsp.type
class BspClient(readFilesEs: ExecutorService, var logger: Logger, var forwardToOpt: Option[BuildClient]) extends BuildClient, BuildClientForwardStubs, BloopBuildClient, HasGeneratedSourcesImpl

Attributes

Supertypes
trait BuildClient
class Object
trait Matchable
class Any
Show all
final class BspImpl(argsToInputs: Seq[String] => Either[BuildException, Inputs], bspReloadableOptionsReference: Reference, threads: BspThreads, in: InputStream, out: OutputStream, actionableDiagnostics: Option[Boolean])(using x$7: ScalaCliInvokeData) extends Bsp

The implementation for Bsp.

The implementation for Bsp.

Value parameters

argsToInputs

a function transforming terminal args to Inputs

bspReloadableOptionsReference

reference to the current instance of BspReloadableOptions

in

the input stream of bytes

out

the output stream of bytes

threads

BSP threads

Attributes

Companion
object
Supertypes
trait Bsp
class Object
trait Matchable
class Any
object BspImpl

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
BspImpl.type
case class BspReloadableOptions(buildOptions: BuildOptions, bloopRifleConfig: BloopRifleConfig, logger: Logger, verbosity: Int)

The options and configurations that may be picked up on a bsp workspace/reload request.

The options and configurations that may be picked up on a bsp workspace/reload request.

Value parameters

bloopRifleConfig

configuration for bloop-rifle

buildOptions

passed options for building sources

logger

logger

verbosity

the verbosity of logs

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
class BspServer(bloopServer: BuildServer & ScalaBuildServer & JavaBuildServer & JvmBuildServer, compile: (() => CompletableFuture[CompileResult]) => CompletableFuture[CompileResult], logger: Logger, presetIntelliJ: Boolean) extends BuildServer, ScalaBuildServer, JavaBuildServer, BuildServerForwardStubs, ScalaScriptBuildServer, ScalaBuildServerForwardStubs, JavaBuildServerForwardStubs, JvmBuildServerForwardStubs, HasGeneratedSourcesImpl

Attributes

Supertypes
trait JvmBuildServer
trait ScalaScriptBuildServer
trait JavaBuildServer
trait ScalaBuildServer
trait BuildServer
class Object
trait Matchable
class Any
Show all
final case class BspThreads(buildThreads: BuildThreads, prepareBuildExecutor: ExecutorService)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object BspThreads

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
BspThreads.type
trait BuildClientForwardStubs extends BuildClient

Attributes

Supertypes
trait BuildClient
class Object
trait Matchable
class Any
Known subtypes
class BspClient
trait BuildServerForwardStubs extends BuildServer

Attributes

Supertypes
trait BuildServer
class Object
trait Matchable
class Any
Known subtypes
class BspServer
class BuildServerProxy(bspServer: () => BspServer, onReload: () => CompletableFuture[Object]) extends BuildServer, ScalaBuildServer, JavaBuildServer, JvmBuildServer, ScalaScriptBuildServer, HasGeneratedSources

A wrapper for BspServer, allowing to reload the workspace on the fly.

A wrapper for BspServer, allowing to reload the workspace on the fly.

Value parameters

bspServer

the underlying BSP server relying on Bloop

onReload

the actual workspace/reload function

Attributes

Supertypes
trait ScalaScriptBuildServer
trait JvmBuildServer
trait JavaBuildServer
trait ScalaBuildServer
trait BuildServer
class Object
trait Matchable
class Any
Show all
final implicit class BuildTargetCapabilitiesExt(capabilities: BuildTargetCapabilities) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
final implicit class BuildTargetExt(target: BuildTarget) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
final implicit class BuildTargetIdentifierExt(item: BuildTargetIdentifier) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
final implicit class DiagnosticExt(diag: Diagnostic) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
final implicit class DiagnosticRelatedInformationExt(info: DiagnosticRelatedInformation) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
final implicit class Ext[T](f: CompletableFuture[T]) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BspClient
class BspServer
final case class IdeInputs(args: Seq[String])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object IdeInputs

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
IdeInputs.type
trait JavaBuildServerForwardStubs extends JavaBuildServer

Attributes

Supertypes
trait JavaBuildServer
class Object
trait Matchable
class Any
Known subtypes
class BspServer

Response error codes as defined in JSON RPC. https://www.jsonrpc.org/specification#error_object

Response error codes as defined in JSON RPC. https://www.jsonrpc.org/specification#error_object

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait JvmBuildServerForwardStubs extends JvmBuildServer

Attributes

Supertypes
trait JvmBuildServer
class Object
trait Matchable
class Any
Known subtypes
class BspServer
final implicit class LocationExt(loc: Location) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
trait LoggingBuildClient extends BuildClient

Attributes

Supertypes
trait BuildClient
class Object
trait Matchable
class Any
trait LoggingBuildServer extends BuildServer

Attributes

Supertypes
trait BuildServer
class Object
trait Matchable
class Any
Known subtypes
class LoggingBuildServerAll(val underlying: BuildServer & ScalaBuildServer & JavaBuildServer & JvmBuildServer & ScalaScriptBuildServer) extends LoggingBuildServer, LoggingScalaBuildServer, LoggingJavaBuildServer, LoggingJvmBuildServer, ScalaScriptBuildServer

Attributes

Supertypes
trait ScalaScriptBuildServer
trait JvmBuildServer
trait JavaBuildServer
trait ScalaBuildServer
trait BuildServer
class Object
trait Matchable
class Any
Show all
trait LoggingJavaBuildServer extends JavaBuildServer

Attributes

Supertypes
trait JavaBuildServer
class Object
trait Matchable
class Any
Known subtypes
trait LoggingJvmBuildServer extends JvmBuildServer

Attributes

Supertypes
trait JvmBuildServer
class Object
trait Matchable
class Any
Known subtypes
trait LoggingScalaBuildServer extends ScalaBuildServer

Attributes

Supertypes
trait ScalaBuildServer
class Object
trait Matchable
class Any
Known subtypes
final implicit class PositionExt(pos: Position) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
final implicit class RangeExt(range: Range) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
trait ScalaBuildServerForwardStubs extends ScalaBuildServer

Attributes

Supertypes
trait ScalaBuildServer
class Object
trait Matchable
class Any
Known subtypes
class BspServer
final implicit class SourceItemExt(item: SourceItem) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
final implicit class SourcesItemExt(item: SourcesItem) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
final implicit class SourcesResultExt(res: SourcesResult) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
final implicit class WorkspaceBuildTargetsResultExt(res: WorkspaceBuildTargetsResult) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any

Implicits

Implicits

final implicit def BuildTargetCapabilitiesExt(capabilities: BuildTargetCapabilities): BuildTargetCapabilitiesExt
final implicit def BuildTargetExt(target: BuildTarget): BuildTargetExt
final implicit def BuildTargetIdentifierExt(item: BuildTargetIdentifier): BuildTargetIdentifierExt
final implicit def DiagnosticExt(diag: Diagnostic): DiagnosticExt
final implicit def DiagnosticRelatedInformationExt(info: DiagnosticRelatedInformation): DiagnosticRelatedInformationExt
final implicit def Ext[T](f: CompletableFuture[T]): Ext[T]
final implicit def LocationExt(loc: Location): LocationExt
final implicit def PositionExt(pos: Position): PositionExt
final implicit def RangeExt(range: Range): RangeExt
final implicit def SourceItemExt(item: SourceItem): SourceItemExt
final implicit def SourcesItemExt(item: SourcesItem): SourcesItemExt
final implicit def SourcesResultExt(res: SourcesResult): SourcesResultExt
final implicit def WorkspaceBuildTargetsResultExt(res: WorkspaceBuildTargetsResult): WorkspaceBuildTargetsResultExt