Class BSLLanguageServer
java.lang.Object
com.github._1c_syntax.bsl.languageserver.BSLLanguageServer
- All Implemented Interfaces:
ProtocolExtension
,org.eclipse.lsp4j.services.LanguageServer
@Component
public class BSLLanguageServer
extends Object
implements org.eclipse.lsp4j.services.LanguageServer, ProtocolExtension
-
Constructor Summary
ConstructorsConstructorDescriptionBSLLanguageServer
(LanguageServerConfiguration configuration, BSLTextDocumentService textDocumentService, BSLWorkspaceService workspaceService, CommandProvider commandProvider, ClientCapabilitiesHolder clientCapabilitiesHolder, ServerContext context, org.eclipse.lsp4j.ServerInfo serverInfo) -
Method Summary
Modifier and TypeMethodDescriptiondiagnostics
(DiagnosticParams params) void
exit()
org.eclipse.lsp4j.services.TextDocumentService
org.eclipse.lsp4j.services.WorkspaceService
CompletableFuture<org.eclipse.lsp4j.InitializeResult>
initialize
(org.eclipse.lsp4j.InitializeParams params) shutdown()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.lsp4j.services.LanguageServer
cancelProgress, getNotebookDocumentService, initialized, initialized, setTrace
-
Constructor Details
-
BSLLanguageServer
@ConstructorProperties({"configuration","textDocumentService","workspaceService","commandProvider","clientCapabilitiesHolder","context","serverInfo"}) public BSLLanguageServer(LanguageServerConfiguration configuration, BSLTextDocumentService textDocumentService, BSLWorkspaceService workspaceService, CommandProvider commandProvider, ClientCapabilitiesHolder clientCapabilitiesHolder, ServerContext context, org.eclipse.lsp4j.ServerInfo serverInfo)
-
-
Method Details
-
initialize
public CompletableFuture<org.eclipse.lsp4j.InitializeResult> initialize(org.eclipse.lsp4j.InitializeParams params) - Specified by:
initialize
in interfaceorg.eclipse.lsp4j.services.LanguageServer
-
shutdown
- Specified by:
shutdown
in interfaceorg.eclipse.lsp4j.services.LanguageServer
-
exit
public void exit()- Specified by:
exit
in interfaceorg.eclipse.lsp4j.services.LanguageServer
-
diagnostics
- Specified by:
diagnostics
in interfaceProtocolExtension
- Parameters:
params
- Параметры запроса.- Returns:
- Список рассчитанных диагностик.
-
getTextDocumentService
public org.eclipse.lsp4j.services.TextDocumentService getTextDocumentService()- Specified by:
getTextDocumentService
in interfaceorg.eclipse.lsp4j.services.LanguageServer
-
getWorkspaceService
public org.eclipse.lsp4j.services.WorkspaceService getWorkspaceService()- Specified by:
getWorkspaceService
in interfaceorg.eclipse.lsp4j.services.LanguageServer
-