class WorksheetProvider extends Cancelable
Implements interactive worksheets for "*.worksheet.sc" file extensions.
Code is evaluated on file save using mdoc: https://scalameta.org/mdoc/
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- WorksheetProvider
- Cancelable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new WorksheetProvider(workspace: io.AbsolutePath, buffers: Buffers, trees: Trees, buildTargets: BuildTargets, languageClient: MetalsLanguageClient, userConfig: () => UserConfiguration, workDoneProgress: WorkDoneProgress, diagnostics: Diagnostics, embedded: Embedded, compilations: Compilations, scalaVersionSelector: ScalaVersionSelector, clientConfig: ClientConfiguration)(implicit ec: ExecutionContext)
Type Members
- case class EvaluatedWorksheetSnapshot(evaluatedWorksheet: EvaluatedWorksheet, text: String) extends Product with Serializable
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 cancel(): Unit
- Definition Classes
- WorksheetProvider → Cancelable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def copyWorksheetOutput(path: io.AbsolutePath): Future[Option[String]]
Check to see for a given path if there is an evaluated worksheet that matches thie exact input.
Check to see for a given path if there is an evaluated worksheet that matches thie exact input.
- path
to the input used to search previous evaluations.
- returns
possible evaluated output.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def evaluateAndPublish(path: io.AbsolutePath, token: CancelToken): Future[Unit]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getWorksheetPCData(path: io.AbsolutePath): Option[WorksheetPcData]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def inlayHints(path: io.AbsolutePath, token: CancelToken): Future[List[InlayHint]]
- def inlayHints(path: Option[io.AbsolutePath], token: CancelToken): Future[List[InlayHint]]
- 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 onBuildTargetDidCompile(target: BuildTargetIdentifier): Unit
- def reset(): Unit
- 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)