Package org.eclipse.lemminx
Interface ITextDocumentServiceContribution
- All Known Implementing Classes:
RNCTextDocumentServiceContribution
public interface ITextDocumentServiceContribution
SPI interface for contributing additional
AbstractTextDocumentService
implementations that handle non-XML file types (e.g., RNC, DTD).
Implementations are discovered via ServiceLoader and
registered in META-INF/services/org.eclipse.lemminx.ITextDocumentServiceContribution.
-
Method Summary
Modifier and TypeMethodDescriptioncreateService(XMLLanguageServer server) Creates the text document service for the contributed file type.
-
Method Details
-
createService
Creates the text document service for the contributed file type.- Parameters:
server- the language server instance.- Returns:
- the text document service.
-