| Modifier and Type | Field and Description |
|---|---|
| private LanguageClient | |
| private final LspClientHandler | |
| private final Map | |
| private final LspDiagnosticHandler | |
| private final Map | |
| private final LspLinkHandler | |
| private static final Logger | |
| private final RemoteMessageHandler |
| Access | Constructor and Description |
|---|---|
| public | BibtexTextDocumentService(@NonNull RemoteMessageHandler messageHandler, @NonNull LspClientHandler clientHandler, @NonNull LspDiagnosticHandler diagnosticHandler, @NonNull LspLinkHandler linkHandler)
|
| Modifier and Type | Method and Description |
|---|---|
| public CompletableFuture | completion(CompletionParams position)
Overrides default org. The Completion request is sent from the client to the server to compute completion items at a given cursor position. |
| public CompletableFuture | definition(DefinitionParams params)
Overrides default org. The goto definition request is sent from the client to the server to resolve the definition location of a symbol at a given text document position. |
| public void | didChange(DidChangeTextDocumentParams params)
Implements org. The document change notification is sent from the client to the server to signal changes to a text document. |
| public void | didClose(DidCloseTextDocumentParams params)
Implements org. The document close notification is sent from the client to the server when the document got closed in the client. |
| public void | didOpen(DidOpenTextDocumentParams params)
Implements org. The document open notification is sent from the client to the server to signal newly opened text documents. |
| public void | didSave(DidSaveTextDocumentParams params)
Implements org. The document save notification is sent from the client to the server when the document for saved in the client. |
| public CompletableFuture | documentLink(DocumentLinkParams params)
Overrides default org. The document links request is sent from the client to the server to request the location of links in a document. |
| public CompletableFuture | documentLinkResolve(DocumentLink params)
Overrides default org. The document link resolve request is sent from the client to the server to resolve the target of a given document link. |
| public void |
| client | back to summary |
|---|---|
| private LanguageClient client | |
| clientHandler | back to summary |
|---|---|
| private final LspClientHandler clientHandler | |
| contentCache | back to summary |
|---|---|
| private final Map<String, String> contentCache | |
| diagnosticHandler | back to summary |
|---|---|
| private final LspDiagnosticHandler diagnosticHandler | |
| fileUriToLanguageId | back to summary |
|---|---|
| private final Map<String, String> fileUriToLanguageId | |
| linkHandler | back to summary |
|---|---|
| private final LspLinkHandler linkHandler | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| messageHandler | back to summary |
|---|---|
| private final RemoteMessageHandler messageHandler | |
| BibtexTextDocumentService | back to summary |
|---|---|
| public BibtexTextDocumentService(@NonNull RemoteMessageHandler messageHandler, @NonNull LspClientHandler clientHandler, @NonNull LspDiagnosticHandler diagnosticHandler, @NonNull LspLinkHandler linkHandler) | |
| completion | back to summary |
|---|---|
| public CompletableFuture Overrides default org. Doc from org. The Completion request is sent from the client to the server to compute completion items at a given cursor position. Completion items are presented in the IntelliSense user interface. If computing complete completion items is expensive servers can additional provide a handler for the resolve completion item request. This request is sent when a completion item is selected in the user interface.
Registration Options:
| |
| definition | back to summary |
|---|---|
| public CompletableFuture Overrides default org. Doc from org. The goto definition request is sent from the client to the server to resolve the definition location of a symbol at a given text document position.
Registration Options:
| |
| didChange | back to summary |
|---|---|
| public void didChange(DidChangeTextDocumentParams params) Implements org. Doc from org. The document change notification is sent from the client to the server to signal changes to a text document.
Registration Options:
| |
| didClose | back to summary |
|---|---|
| public void didClose(DidCloseTextDocumentParams params) Implements org. Doc from org. The document close notification is sent from the client to the server when the document got closed in the client. The document's truth now exists where the document's uri points to (e.g. if the document's uri is a file uri the truth now exists on disk).
Registration Options:
| |
| didOpen | back to summary |
|---|---|
| public void didOpen(DidOpenTextDocumentParams params) Implements org. Doc from org. The document open notification is sent from the client to the server to signal newly opened text documents. The document's truth is now managed by the client and the server must not try to read the document's truth using the document's uri.
Registration Options:
| |
| didSave | back to summary |
|---|---|
| public void didSave(DidSaveTextDocumentParams params) Implements org. Doc from org. The document save notification is sent from the client to the server when the document for saved in the client.
Registration Options:
| |
| documentLink | back to summary |
|---|---|
| public CompletableFuture Overrides default org. Doc from org. The document links request is sent from the client to the server to request the location of links in a document.
Registration Options:
| |
| documentLinkResolve | back to summary |
|---|---|
| public CompletableFuture Overrides default org. Doc from org. The document link resolve request is sent from the client to the server to resolve the target of a given document link.
| |
| setClient | back to summary |
|---|---|
| public void setClient(LanguageClient client) | |