package
lsp
Type Members
-
case class
ApplyWorkspaceEditParams(label: Option[String], edit: WorkspaceEdit) extends Product with Serializable
-
case class
ApplyWorkspaceEditResponse(applied: Boolean) extends Product with Serializable
-
case class
CancelRequest(id: Int) extends Product with Serializable
-
case class
ClientCapabilities() extends Product with Serializable
-
case class
CodeActionContext(diagnostics: Seq[Diagnostic]) extends Product with Serializable
-
-
-
case class
CodeActionResult(params: Seq[Command]) extends Product with Serializable
-
case class
CodeLens(range: Range, command: Option[Command], data: Option[Any]) extends Product with Serializable
-
case class
CodeLensOptions(resolveProvider: Boolean = false) extends Product with Serializable
-
case class
Command(title: String, command: String, arguments: Seq[Json]) extends Product with Serializable
-
case class
CompletionItem(label: String, kind: Option[CompletionItemKind] = scala.None, detail: Option[String] = scala.None, documentation: Option[String] = scala.None, sortText: Option[String] = scala.None, filterText: Option[String] = scala.None, insertText: Option[String] = scala.None, textEdit: Option[String] = scala.None, data: Option[String] = scala.None) extends Product with Serializable
-
sealed abstract
class
CompletionItemKind extends IntEnumEntry
-
case class
CompletionList(isIncomplete: Boolean, items: Seq[CompletionItem]) extends Product with Serializable
-
case class
CompletionOptions(resolveProvider: Boolean, triggerCharacters: Seq[String]) extends Product with Serializable
-
case class
Diagnostic(range: Range, severity: Option[DiagnosticSeverity], code: Option[String], source: Option[String], message: String) extends Product with Serializable
-
sealed abstract
class
DiagnosticSeverity extends IntEnumEntry
-
case class
DidChangeConfigurationParams(settings: Json) extends Product with Serializable
-
-
-
-
-
-
-
case class
DocumentHighlight(range: Range, kind: DocumentHighlightKind = DocumentHighlightKind.Text) extends Product with Serializable
-
sealed abstract
class
DocumentHighlightKind extends IntEnumEntry
-
case class
DocumentOnTypeFormattingOptions(firstTriggerCharacter: String, moreTriggerCharacters: Seq[String]) extends Product with Serializable
-
-
case class
ExecuteCommandOptions(commands: Seq[String]) extends Product with Serializable
-
case class
ExecuteCommandParams(command: String, arguments: Option[Seq[Json]]) extends Product with Serializable
-
sealed abstract
class
FileChangeType extends IntEnumEntry
-
case class
FileEvent(uri: String, type: FileChangeType) extends Product with Serializable
-
case class
FormattingOptions(tabSize: Int, insertSpaces: Boolean) extends Product with Serializable
-
case class
Hover(contents: Seq[MarkedString], range: Option[Range]) extends Product with Serializable
-
case class
InitializeParams(processId: Long, rootPath: String, capabilities: ClientCapabilities) extends Product with Serializable
-
-
case class
Initialized() extends Product with Serializable
-
-
case class
Location(uri: String, range: Range) extends Product with Serializable
-
case class
LogMessageParams(type: MessageType, message: String) extends Product with Serializable
-
case class
MarkdownString(contents: String) extends MarkedString with Product with Serializable
-
-
case class
MessageActionItem(title: String) extends Product with Serializable
-
sealed abstract
class
MessageType extends IntEnumEntry
-
case class
ParameterInformation(label: String, documentation: Option[String]) extends Product with Serializable
-
case class
Position(line: Int, character: Int) extends Product with Serializable
-
case class
PublishDiagnostics(uri: String, diagnostics: Seq[Diagnostic]) extends Product with Serializable
-
case class
Range(start: Position, end: Position) extends Product with Serializable
-
case class
RawMarkedString(language: String, value: String) extends MarkedString with Product with Serializable
-
case class
ReferenceContext(includeDeclaration: Boolean) extends Product with Serializable
-
-
case class
RenameParams(textDocument: TextDocumentIdentifier, position: Position, newName: String) extends Product with Serializable
-
case class
SaveOptions(includeText: Option[Boolean] = scala.None) extends Product with Serializable
-
case class
ServerCapabilities(textDocumentSync: Option[TextDocumentSyncOptions] = scala.None, hoverProvider: Boolean = false, completionProvider: Option[CompletionOptions] = scala.None, signatureHelpProvider: Option[SignatureHelpOptions] = scala.None, definitionProvider: Boolean = false, referencesProvider: Boolean = false, documentHighlightProvider: Boolean = false, documentSymbolProvider: Boolean = false, workspaceSymbolProvider: Boolean = false, codeActionProvider: Boolean = false, codeLensProvider: Option[CodeLensOptions] = scala.None, documentFormattingProvider: Boolean = false, documentRangeFormattingProvider: Boolean = false, documentOnTypeFormattingProvider: Option[DocumentOnTypeFormattingOptions] = scala.None, renameProvider: Boolean = false, executeCommandProvider: ExecuteCommandOptions = ...) extends Product with Serializable
-
case class
ShowMessageParams(type: MessageType, message: String) extends Product with Serializable
-
-
case class
Shutdown() extends Product with Serializable
-
case class
ShutdownResult() extends Product with Serializable
-
case class
SignatureHelp(signatures: Seq[SignatureInformation], activeSignature: Option[Int], activeParameter: Option[Int]) extends Product with Serializable
-
case class
SignatureHelpOptions(triggerCharacters: Seq[String]) extends Product with Serializable
-
case class
SignatureInformation(label: String, documentation: Option[String], parameters: Seq[ParameterInformation]) extends Product with Serializable
-
case class
SymbolInformation(name: String, kind: SymbolKind, location: Location, containerName: Option[String]) extends Product with Serializable
-
sealed abstract
class
SymbolKind extends IntEnumEntry
-
-
case class
TextDocumentContentChangeEvent(range: Option[Range], rangeLength: Option[Int], text: String) extends Product with Serializable
-
case class
TextDocumentIdentifier(uri: String) extends Product with Serializable
-
case class
TextDocumentItem(uri: String, languageId: String, version: Long, text: String) extends Product with Serializable
-
-
-
-
sealed abstract
class
TextDocumentSyncKind extends IntEnumEntry
-
case class
TextDocumentSyncOptions(openClose: Option[Boolean] = scala.None, change: Option[TextDocumentSyncKind] = scala.None, willSave: Option[Boolean] = scala.None, willSaveWaitUntil: Option[Boolean] = scala.None, save: Option[SaveOptions] = scala.None) extends Product with Serializable
-
case class
TextEdit(range: Range, newText: String) extends Product with Serializable
-
case class
VersionedTextDocumentIdentifier(uri: String, version: Long) extends Product with Serializable
-
-
-
-
case class
WorkspaceEdit(changes: Map[String, Seq[TextEdit]]) extends Product with Serializable
-
case class
WorkspaceSymbolParams(query: String) extends Product with Serializable
-
A code lens represents a [command](#Command) that should be shown along with source text, like the number of references, a way to run tests, etc.
A code lens is _unresolved_ when no command is associated to it. For performance reasons the creation of a code lens and resolving should be done to two stages.