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
ConstructorsConstructorDescriptionBSLLanguageServer(LanguageServerConfiguration configuration, BSLTextDocumentService textDocumentService, BSLWorkspaceService workspaceService, CommandProvider commandProvider, ClientCapabilitiesHolder clientCapabilitiesHolder, ServerContext context, ServerInfo serverInfo) -
Method Summary
Modifier and TypeMethodDescriptiondiagnostics(DiagnosticParams params) voidexit()initialize(InitializeParams params) shutdown()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
initializein interfaceLanguageServer
-
shutdown
- Specified by:
shutdownin interfaceLanguageServer
-
exit
public void exit()- Specified by:
exitin interfaceLanguageServer
-
diagnostics
- Specified by:
diagnosticsin interfaceProtocolExtension- Parameters:
params- Параметры запроса.- Returns:
- Список рассчитанных диагностик.
-
getTextDocumentService
- Specified by:
getTextDocumentServicein interfaceLanguageServer
-
getWorkspaceService
- Specified by:
getWorkspaceServicein interfaceLanguageServer
-