Class BSLWorkspaceService
java.lang.Object
com.github._1c_syntax.bsl.languageserver.BSLWorkspaceService
- All Implemented Interfaces:
WorkspaceService
-
Constructor Summary
ConstructorsConstructorDescriptionBSLWorkspaceService(LanguageServerConfiguration configuration, CommandProvider commandProvider, SymbolProvider symbolProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidA notification sent from the client to the server to signal the change of configuration settings.voidThe watched files notification is sent from the client to the server when the client detects changes to file watched by the language client.executeCommand(ExecuteCommandParams params) The workspace/executeCommand request is sent from the client to the server to trigger command execution on the server.CompletableFuture<Either<List<? extends SymbolInformation>,List<? extends WorkspaceSymbol>>> symbol(WorkspaceSymbolParams params) The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.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.WorkspaceService
diagnostic, didChangeWorkspaceFolders, didCreateFiles, didDeleteFiles, didRenameFiles, resolveWorkspaceSymbol, willCreateFiles, willDeleteFiles, willRenameFiles
-
Constructor Details
-
BSLWorkspaceService
@ConstructorProperties({"configuration","commandProvider","symbolProvider"}) public BSLWorkspaceService(LanguageServerConfiguration configuration, CommandProvider commandProvider, SymbolProvider symbolProvider)
-
-
Method Details
-
symbol
public CompletableFuture<Either<List<? extends SymbolInformation>,List<? extends WorkspaceSymbol>>> symbol(WorkspaceSymbolParams params) Description copied from interface:org.eclipse.lsp4j.services.WorkspaceServiceThe workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.Registration Options:
WorkspaceSymbolRegistrationOptions- Specified by:
symbolin interfaceWorkspaceService
-
didChangeConfiguration
Description copied from interface:org.eclipse.lsp4j.services.WorkspaceServiceA notification sent from the client to the server to signal the change of configuration settings.- Specified by:
didChangeConfigurationin interfaceWorkspaceService
-
didChangeWatchedFiles
Description copied from interface:org.eclipse.lsp4j.services.WorkspaceServiceThe watched files notification is sent from the client to the server when the client detects changes to file watched by the language client.- Specified by:
didChangeWatchedFilesin interfaceWorkspaceService
-
executeCommand
Description copied from interface:org.eclipse.lsp4j.services.WorkspaceServiceThe workspace/executeCommand request is sent from the client to the server to trigger command execution on the server. In most cases the server creates a WorkspaceEdit structure and applies the changes to the workspace using the request workspace/applyEdit which is sent from the server to the client.Registration Options:
ExecuteCommandRegistrationOptions- Specified by:
executeCommandin interfaceWorkspaceService
-