Packages

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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WorksheetProvider
  2. Cancelable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WorksheetProvider(workspace: io.AbsolutePath, buffers: Buffers, buildTargets: BuildTargets, languageClient: MetalsLanguageClient, userConfig: () => UserConfiguration, workDoneProgress: WorkDoneProgress, diagnostics: Diagnostics, embedded: Embedded, publisher: WorksheetPublisher, compilations: Compilations, scalaVersionSelector: ScalaVersionSelector, serverConfig: MetalsServerConfig)(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 cancel(): Unit
    Definition Classes
    WorksheetProviderCancelable
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. def copyWorksheetOutput(path: io.AbsolutePath): 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.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def evaluateAndPublish(path: io.AbsolutePath, token: CancelToken): Future[Unit]
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. def getWorksheetPCData(path: io.AbsolutePath): Option[WorksheetPcData]
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def hover(path: io.AbsolutePath, position: org.eclipse.lsp4j.Position): Option[Hover]

    Fallback hover for results.

    Fallback hover for results. While for the actual code hover's provided by Compilers, for evaluated results hover's provided here

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. def onBuildTargetDidCompile(target: BuildTargetIdentifier): Unit
  20. def onDidFocus(path: io.AbsolutePath): Future[Unit]
  21. def reset(): Unit
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. 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 Cancelable

Inherited from AnyRef

Inherited from Any

Ungrouped