| Modifier and Type | Field and Description |
|---|---|
| private LanguageClient | |
| private final LspDiagnosticHandler | |
| private final LspLinkHandler | |
| private static final Logger | |
| private final RemoteMessageHandler | |
| private final LspParserHandler | |
| private final ExtensionSettings | |
| private boolean | |
| private final BibtexTextDocumentService | |
| private final BibtexWorkspaceService |
| Access | Constructor and Description |
|---|---|
| public | LspClientHandler(RemoteMessageHandler messageHandler, CliPreferences cliPreferences, JournalAbbreviationRepository abbreviationRepository, BibEntryTypesManager bibEntryTypesManager)
|
| public | LspClientHandler(RemoteMessageHandler messageHandler, CliPreferences cliPreferences, JournalAbbreviationRepository abbreviationRepository, BibEntryTypesManager bibEntryTypesManager, boolean standalone)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | exit()
Implements org. When running in JabGui: NOOP, because the JabGui has the lifecycle control. |
| public ExtensionSettings | |
| public TextDocumentService | getTextDocumentService()
Implements org. Provides access to the textDocument services. |
| public WorkspaceService | getWorkspaceService()
Implements org. Provides access to the workspace services. |
| public CompletableFuture | initialize(InitializeParams params)
Implements org. The initialize request is sent as the first request from the client to the server. |
| public boolean | |
| public CompletableFuture | shutdown()
Implements org. The shutdown request is sent from the client to the server. |
| client | back to summary |
|---|---|
| private LanguageClient client | |
| diagnosticHandler | back to summary |
|---|---|
| private final LspDiagnosticHandler diagnosticHandler | |
| 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 | |
| parserHandler | back to summary |
|---|---|
| private final LspParserHandler parserHandler | |
| settings | back to summary |
|---|---|
| private final ExtensionSettings settings | |
| standalone | back to summary |
|---|---|
| private boolean standalone | |
| textDocumentService | back to summary |
|---|---|
| private final BibtexTextDocumentService textDocumentService | |
| workspaceService | back to summary |
|---|---|
| private final BibtexWorkspaceService workspaceService | |
| LspClientHandler | back to summary |
|---|---|
| public LspClientHandler(RemoteMessageHandler messageHandler, CliPreferences cliPreferences, JournalAbbreviationRepository abbreviationRepository, BibEntryTypesManager bibEntryTypesManager) | |
| LspClientHandler | back to summary |
|---|---|
| public LspClientHandler(RemoteMessageHandler messageHandler, CliPreferences cliPreferences, JournalAbbreviationRepository abbreviationRepository, BibEntryTypesManager bibEntryTypesManager, boolean standalone) | |
| connect | back to summary |
|---|---|
| public void connect(LanguageClient client) Implements org.
| |
| exit | back to summary |
|---|---|
| public void exit() Implements org. When running in JabGui: NOOP, because the JabGui has the lifecycle control. When running standalone: immediately exits. We accept issues if mutlitple clients are connected.
| |
| getSettings | back to summary |
|---|---|
| public ExtensionSettings getSettings() | |
| getTextDocumentService | back to summary |
|---|---|
| public TextDocumentService getTextDocumentService() Implements org. Doc from org. Provides access to the textDocument services.
| |
| getWorkspaceService | back to summary |
|---|---|
| public WorkspaceService getWorkspaceService() Implements org. Doc from org. Provides access to the workspace services.
| |
| initialize | back to summary |
|---|---|
| public CompletableFuture Implements org. Doc from org. The initialize request is sent as the first request from the client to the server. If the server receives requests or notifications before the initialize request, it should act as follows:
Until the server has responded to the initialize request with an InitializeResult, the client must not send any additional requests or notifications to the server. During the initialize request, the server is allowed to send the notifications window/showMessage, window/logMessage, and telemetry/event, as well as the request window/showMessageRequest, to the client.
| |
| isStandalone | back to summary |
|---|---|
| public boolean isStandalone() | |
| shutdown | back to summary |
|---|---|
| public CompletableFuture Implements org. Doc from org. The shutdown request is sent from the client to the server. It asks the server to shutdown, but to not exit (otherwise the response might not be delivered correctly to the client). There is a separate exit notification that asks the server to exit.
| |