Interface IDocumentHighlightService

  • All Known Implementing Classes:
    DefaultDocumentHighlightService

    public interface IDocumentHighlightService
    Representation of a document highlight service. This service can be used to resolve document highlights for a given text document position.

    For programming languages this usually highlights all references to the symbol scoped to this file.

    See Also:
    DocumentHighlight
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<? extends org.eclipse.lsp4j.DocumentHighlight> getDocumentHighlights​(Document document, org.eclipse.xtext.resource.XtextResource resource, org.eclipse.lsp4j.DocumentHighlightParams params, org.eclipse.xtext.util.CancelIndicator cancelIndicator)  
    • Method Detail

      • getDocumentHighlights

        java.util.List<? extends org.eclipse.lsp4j.DocumentHighlight> getDocumentHighlights​(Document document,
                                                                                            org.eclipse.xtext.resource.XtextResource resource,
                                                                                            org.eclipse.lsp4j.DocumentHighlightParams params,
                                                                                            org.eclipse.xtext.util.CancelIndicator cancelIndicator)
        Since:
        2.21