Class BSLLanguageServer
java.lang.Object
com.github._1c_syntax.bsl.languageserver.BSLLanguageServer
- All Implemented Interfaces:
ProtocolExtension
,LanguageServer
@Component
public class BSLLanguageServer
extends Object
implements LanguageServer, ProtocolExtension
-
Constructor Summary
ConstructorDescriptionBSLLanguageServer
(LanguageServerConfiguration configuration, BSLTextDocumentService textDocumentService, BSLWorkspaceService workspaceService, CommandProvider commandProvider, ClientCapabilitiesHolder clientCapabilitiesHolder, ServerContext context, ServerInfo serverInfo) -
Method Summary
Modifier and TypeMethodDescriptiondiagnostics
(DiagnosticParams params) void
exit()
initialize
(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, ServerInfo serverInfo)
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceLanguageServer
-
shutdown
- Specified by:
shutdown
in interfaceLanguageServer
-
exit
public void exit()- Specified by:
exit
in interfaceLanguageServer
-
diagnostics
- Specified by:
diagnostics
in interfaceProtocolExtension
- Parameters:
params
- Параметры запроса.- Returns:
- Список рассчитанных диагностик.
-
getTextDocumentService
- Specified by:
getTextDocumentService
in interfaceLanguageServer
-
getWorkspaceService
- Specified by:
getWorkspaceService
in interfaceLanguageServer
-