Interface ICompletionParticipant

    • Method Detail

      • onAttributeValue

        void onAttributeValue​(String valuePrefix,
                              ICompletionRequest request,
                              ICompletionResponse response,
                              org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
                       throws Exception
        Collects and stores attribute value completion items within the provided completion response response
        Parameters:
        valuePrefix - the attribute value before the offset in which completion was invoked
        request - the completion request
        response - the completion response
        Throws:
        Exception
      • onDTDSystemId

        void onDTDSystemId​(String valuePrefix,
                           ICompletionRequest request,
                           ICompletionResponse response,
                           org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
                    throws Exception
        Collects and stores systemId completion items within the provided completion response response
        Parameters:
        valuePrefix - the systemId value before the offset in which completion was invoked
        request - the completion request
        response - the completion response
        Throws:
        Exception
      • getResolveCompletionItemParticipant

        default ICompletionItemResolveParticipant getResolveCompletionItemParticipant​(String participantId)
        Returns the completion item resolver that corresponds to the given participant id or null otherwise.
        Parameters:
        participantId - the participant id to find the completion item resolver for
        Returns:
        the completion item resolver that corresponds to the given participant id or null otherwise