DottyLanguageServer

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def completionItem(completion: Completion)(ctx: Context): CompletionItem

Create an lsp4j.CompletionItem from a completion result

Create an lsp4j.CompletionItem from a completion result

def diagnostic(dia: Diagnostic)(ctx: Context): Option[Diagnostic]

Convert a Diagnostic to an lsp4j.Diagnostic.

Convert a Diagnostic to an lsp4j.Diagnostic.

def isTopLevelWrapper(sourceTree: SourceTree)(ctx: Context): Boolean

Is this symbol the wrapper object for top level definitions?

Is this symbol the wrapper object for top level definitions?

def isWorksheetWrapper(sourceTree: SourceTree)(ctx: Context): Boolean

Is sourceTree the wrapper object that we put around worksheet sources?

Is sourceTree the wrapper object that we put around worksheet sources?

See also

wrapWorksheet

Is this symbol the wrapper object that we put around worksheet sources?

Is this symbol the wrapper object that we put around worksheet sources?

See also

wrapWorksheet

def location(p: SourcePosition): Option[Location]

Convert a SourcePosition to an lsp4.Location

Convert a SourcePosition to an lsp4.Location

def markupContent(content: String): MarkupContent
def range(p: SourcePosition): Option[Range]

Convert a SourcePosition to an lsp4j.Range

Convert a SourcePosition to an lsp4j.Range

def signatureToSignatureInformation(signature: Signature): SignatureInformation

Convert signature to a SignatureInformation

Convert signature to a SignatureInformation

def sourcePosition(driver: InteractiveDriver, uri: URI, pos: Position): SourcePosition

Convert an lsp4j.Position to a SourcePosition

Convert an lsp4j.Position to a SourcePosition

def symbolInfo(sym: Symbol, pos: SourcePosition)(ctx: Context): Option[SymbolInformation]

Create an lsp4j.SymbolInfo from a Symbol and a SourcePosition

Create an lsp4j.SymbolInfo from a Symbol and a SourcePosition

Concrete fields

final val IDE_CONFIG_FILE: ".dotty-ide.json"

Configuration file normally generated by sbt-dotty

Configuration file normally generated by sbt-dotty

final val RENAME_NO_OVERRIDDEN: "Rename only this member"
final val RENAME_OVERRIDDEN: "Rename the base member"
final val RENAME_OVERRIDDEN_QUESTION: "Do you want to rename the base member, or only this member?"