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 TypeMethodDescriptionvoid
A notification sent from the client to the server to signal the change of configuration settings.void
The 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, wait
Methods 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.WorkspaceService
The 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:
symbol
in interfaceWorkspaceService
-
didChangeConfiguration
Description copied from interface:org.eclipse.lsp4j.services.WorkspaceService
A notification sent from the client to the server to signal the change of configuration settings.- Specified by:
didChangeConfiguration
in interfaceWorkspaceService
-
didChangeWatchedFiles
Description copied from interface:org.eclipse.lsp4j.services.WorkspaceService
The 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:
didChangeWatchedFiles
in interfaceWorkspaceService
-
executeCommand
Description copied from interface:org.eclipse.lsp4j.services.WorkspaceService
The 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:
executeCommand
in interfaceWorkspaceService
-