DottyLanguageServer

dotty.tools.languageserver.DottyLanguageServer$
See theDottyLanguageServer companion class

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

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

Create an lsp4j.CompletionItem from a completion result

Create an lsp4j.CompletionItem from a completion result

Attributes

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

Convert a Diagnostic to an lsp4j.Diagnostic.

Convert a Diagnostic to an lsp4j.Diagnostic.

Attributes

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

Is this symbol the wrapper object for top level definitions?

Is this symbol the wrapper object for top level definitions?

Attributes

def isWorksheetWrapper(sourceTree: SourceTree)(implicit 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?

Attributes

See also:

wrapWorksheet

def isWorksheetWrapper(symbol: Symbol)(implicit ctx: Context): Boolean

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

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

Attributes

See also:

wrapWorksheet

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

Convert a SourcePosition to an lsp4.Location

Convert a SourcePosition to an lsp4.Location

Attributes

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

Attributes

def signatureToSignatureInformation(signature: Signature): SignatureInformation

Convert signature to a SignatureInformation

Convert signature to a SignatureInformation

Attributes

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

Convert an lsp4j.Position to a SourcePosition

Convert an lsp4j.Position to a SourcePosition

Attributes

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

Create an lsp4j.SymbolInfo from a Symbol and a SourcePosition

Create an lsp4j.SymbolInfo from a Symbol and a SourcePosition

Attributes

Concrete fields

final val IDE_CONFIG_FILE: ".dotty-ide.json"
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?"