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
- All
Instance Constructors
- new WorksheetProvider(workspace: io.AbsolutePath, buffers: Buffers, buildTargets: BuildTargets, languageClient: MetalsLanguageClient, userConfig: () ⇒ UserConfiguration, statusBar: StatusBar, diagnostics: Diagnostics, embedded: Embedded, publisher: WorksheetPublisher, compilers: Compilers, compilations: Compilations)(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
cancel(): Unit
- Definition Classes
- WorksheetProvider → Cancelable
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def evaluateAndPublish(path: io.AbsolutePath, token: CancelToken): Future[Unit]
-
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()
-
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
-
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 onBuildTargetDidCompile(target: BuildTargetIdentifier): Unit
- def onDidFocus(path: io.AbsolutePath): Future[Unit]
- def reset(): Unit
-
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()