public class XMLLanguageService extends XMLExtensionsRegistry
Constructor and Description |
---|
XMLLanguageService() |
Modifier and Type | Method and Description |
---|---|
AutoCloseTagResponse |
doAutoClose(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
List<org.eclipse.lsp4j.CodeAction> |
doCodeActions(org.eclipse.lsp4j.CodeActionContext context,
org.eclipse.lsp4j.Range range,
DOMDocument document,
XMLFormattingOptions formattingSettings) |
org.eclipse.lsp4j.CompletionList |
doComplete(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
SharedSettings settings) |
org.eclipse.lsp4j.CompletionList |
doComplete(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
SharedSettings settings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
List<org.eclipse.lsp4j.Diagnostic> |
doDiagnostics(DOMDocument xmlDocument,
org.eclipse.lsp4j.jsonrpc.CancelChecker monitor,
XMLValidationSettings validationSettings) |
org.eclipse.lsp4j.Hover |
doHover(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
XMLHoverSettings settings) |
org.eclipse.lsp4j.Hover |
doHover(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
XMLHoverSettings settings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
org.eclipse.lsp4j.WorkspaceEdit |
doRename(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
String newText) |
AutoCloseTagResponse |
doTagComplete(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position) |
AutoCloseTagResponse |
doTagComplete(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
List<? extends org.eclipse.lsp4j.LocationLink> |
findDefinition(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
List<org.eclipse.lsp4j.DocumentHighlight> |
findDocumentHighlights(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position) |
List<org.eclipse.lsp4j.DocumentHighlight> |
findDocumentHighlights(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
List<org.eclipse.lsp4j.DocumentLink> |
findDocumentLinks(DOMDocument document) |
List<org.eclipse.lsp4j.DocumentSymbol> |
findDocumentSymbols(DOMDocument xmlDocument) |
List<org.eclipse.lsp4j.DocumentSymbol> |
findDocumentSymbols(DOMDocument xmlDocument,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
List<? extends org.eclipse.lsp4j.Location> |
findReferences(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
org.eclipse.lsp4j.ReferenceContext context,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
List<org.eclipse.lsp4j.SymbolInformation> |
findSymbolInformations(DOMDocument xmlDocument) |
List<org.eclipse.lsp4j.SymbolInformation> |
findSymbolInformations(DOMDocument xmlDocument,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
List<? extends org.eclipse.lsp4j.LocationLink> |
findTypeDefinition(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
List<? extends org.eclipse.lsp4j.TextEdit> |
format(TextDocument document,
org.eclipse.lsp4j.Range range,
XMLFormattingOptions options) |
List<? extends org.eclipse.lsp4j.CodeLens> |
getCodeLens(DOMDocument xmlDocument,
XMLCodeLensSettings settings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
List<org.eclipse.lsp4j.FoldingRange> |
getFoldingRanges(DOMDocument xmlDocument,
XMLFoldingSettings context) |
List<org.eclipse.lsp4j.FoldingRange> |
getFoldingRanges(DOMDocument xmlDocument,
XMLFoldingSettings context,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
org.eclipse.lsp4j.Position |
getMatchingTagPosition(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
CompletableFuture<Path> |
publishDiagnostics(DOMDocument xmlDocument,
Consumer<org.eclipse.lsp4j.PublishDiagnosticsParams> publishDiagnostics,
Consumer<TextDocument> triggerValidation,
XMLValidationSettings validationSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker monitor) |
dispose, doSave, getCodeActionsParticipants, getCodeLensParticipants, getCompletionParticipants, getComponent, getDefinitionParticipants, getDiagnosticsParticipants, getDocumentLinkParticipants, getDocumentProvider, getExtensions, getHighlightingParticipants, getHoverParticipants, getReferenceParticipants, getRenameParticipants, getResolverExtensionManager, getTypeDefinitionParticipants, initializeIfNeeded, initializeParams, registerCodeActionParticipant, registerCodeLensParticipant, registerCompletionParticipant, registerComponent, registerDefinitionParticipant, registerDiagnosticsParticipant, registerDocumentLinkParticipant, registerHighlightingParticipant, registerHoverParticipant, registerReferenceParticipant, registerRenameParticipant, registerTypeDefinitionParticipant, setDocumentProvider, unregisterCodeActionParticipant, unregisterCodeLensParticipant, unregisterCompletionParticipant, unregisterDefinitionParticipant, unregisterDiagnosticsParticipant, unregisterDocumentLinkParticipant, unregisterHighlightingParticipant, unregisterHoverParticipant, unregisterReferenceParticipant, unregisterRenameParticipant, unregisterTypeDefinitionParticipant
public List<? extends org.eclipse.lsp4j.TextEdit> format(TextDocument document, org.eclipse.lsp4j.Range range, XMLFormattingOptions options)
public List<org.eclipse.lsp4j.DocumentHighlight> findDocumentHighlights(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position)
public List<org.eclipse.lsp4j.DocumentHighlight> findDocumentHighlights(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
public List<org.eclipse.lsp4j.SymbolInformation> findSymbolInformations(DOMDocument xmlDocument)
public List<org.eclipse.lsp4j.SymbolInformation> findSymbolInformations(DOMDocument xmlDocument, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
public List<org.eclipse.lsp4j.DocumentSymbol> findDocumentSymbols(DOMDocument xmlDocument)
public List<org.eclipse.lsp4j.DocumentSymbol> findDocumentSymbols(DOMDocument xmlDocument, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
public org.eclipse.lsp4j.CompletionList doComplete(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, SharedSettings settings)
public org.eclipse.lsp4j.CompletionList doComplete(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, SharedSettings settings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
public org.eclipse.lsp4j.Hover doHover(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, XMLHoverSettings settings)
public org.eclipse.lsp4j.Hover doHover(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, XMLHoverSettings settings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
public List<org.eclipse.lsp4j.Diagnostic> doDiagnostics(DOMDocument xmlDocument, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor, XMLValidationSettings validationSettings)
public CompletableFuture<Path> publishDiagnostics(DOMDocument xmlDocument, Consumer<org.eclipse.lsp4j.PublishDiagnosticsParams> publishDiagnostics, Consumer<TextDocument> triggerValidation, XMLValidationSettings validationSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor)
public List<org.eclipse.lsp4j.FoldingRange> getFoldingRanges(DOMDocument xmlDocument, XMLFoldingSettings context)
public List<org.eclipse.lsp4j.FoldingRange> getFoldingRanges(DOMDocument xmlDocument, XMLFoldingSettings context, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
public org.eclipse.lsp4j.WorkspaceEdit doRename(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, String newText)
public List<org.eclipse.lsp4j.DocumentLink> findDocumentLinks(DOMDocument document)
public List<? extends org.eclipse.lsp4j.LocationLink> findDefinition(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
public List<? extends org.eclipse.lsp4j.LocationLink> findTypeDefinition(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
public List<? extends org.eclipse.lsp4j.Location> findReferences(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.ReferenceContext context, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
public List<? extends org.eclipse.lsp4j.CodeLens> getCodeLens(DOMDocument xmlDocument, XMLCodeLensSettings settings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
public List<org.eclipse.lsp4j.CodeAction> doCodeActions(org.eclipse.lsp4j.CodeActionContext context, org.eclipse.lsp4j.Range range, DOMDocument document, XMLFormattingOptions formattingSettings)
public AutoCloseTagResponse doTagComplete(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position)
public AutoCloseTagResponse doTagComplete(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
public AutoCloseTagResponse doAutoClose(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
public org.eclipse.lsp4j.Position getMatchingTagPosition(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Copyright © 2020. All rights reserved.