Class Ek9TextDocumentService

java.lang.Object
org.ek9lang.lsp.Ek9Service
org.ek9lang.lsp.Ek9TextDocumentService
All Implemented Interfaces:
org.eclipse.lsp4j.services.TextDocumentService

final class Ek9TextDocumentService extends Ek9Service implements org.eclipse.lsp4j.services.TextDocumentService
Part of the language server functionality. Some methods could be implemented but Ignore the events as we pick up changes by implementing didChangeWatchedFiles in the workspace service. Note there are lots of other methods we will implement in here. Like type hierarchy for example. See TextDocumentService for other methods we can implement.
  • Constructor Details

  • Method Details

    • getLanguageWords

      Ek9LanguageWords getLanguageWords()
    • completion

      public CompletableFuture<org.eclipse.lsp4j.jsonrpc.messages.Either<List<org.eclipse.lsp4j.CompletionItem>,org.eclipse.lsp4j.CompletionList>> completion(org.eclipse.lsp4j.CompletionParams position)
      Specified by:
      completion in interface org.eclipse.lsp4j.services.TextDocumentService
    • hover

      public CompletableFuture<org.eclipse.lsp4j.Hover> hover(org.eclipse.lsp4j.HoverParams params)
      Specified by:
      hover in interface org.eclipse.lsp4j.services.TextDocumentService
    • didOpen

      public void didOpen(org.eclipse.lsp4j.DidOpenTextDocumentParams params)
      Specified by:
      didOpen in interface org.eclipse.lsp4j.services.TextDocumentService
    • didChange

      public void didChange(org.eclipse.lsp4j.DidChangeTextDocumentParams params)
      Specified by:
      didChange in interface org.eclipse.lsp4j.services.TextDocumentService
    • didClose

      public void didClose(org.eclipse.lsp4j.DidCloseTextDocumentParams params)
      Specified by:
      didClose in interface org.eclipse.lsp4j.services.TextDocumentService
    • didSave

      public void didSave(org.eclipse.lsp4j.DidSaveTextDocumentParams params)
      Specified by:
      didSave in interface org.eclipse.lsp4j.services.TextDocumentService