public interface WorkspaceService
| Modifier and Type | Method and Description |
|---|---|
default java.util.concurrent.CompletableFuture<WorkspaceDiagnosticReport> |
diagnostic(WorkspaceDiagnosticParams params)
The workspace diagnostic request is sent from the client to the server to ask the server to
compute workspace wide diagnostics which previously where pushed from the server to the client.
|
void |
didChangeConfiguration(DidChangeConfigurationParams params)
A notification sent from the client to the server to signal the change of
configuration settings.
|
void |
didChangeWatchedFiles(DidChangeWatchedFilesParams params)
The watched files notification is sent from the client to the server when
the client detects changes to file watched by the language client.
|
default void |
didChangeWorkspaceFolders(DidChangeWorkspaceFoldersParams params)
The workspace/didChangeWorkspaceFolders notification is sent from the client
to the server to inform the server about workspace folder configuration changes.
|
default void |
didCreateFiles(CreateFilesParams params)
The did create files notification is sent from the client to the server when files
were created from within the client.
|
default void |
didDeleteFiles(DeleteFilesParams params)
The did delete files notification is sent from the client to the server when files
were deleted from within the client.
|
default void |
didRenameFiles(RenameFilesParams params)
The did rename files notification is sent from the client to the server when files
were renamed from within the client.
|
default java.util.concurrent.CompletableFuture<java.lang.Object> |
executeCommand(ExecuteCommandParams params)
The workspace/executeCommand request is sent from the client to the
server to trigger command execution on the server.
|
default java.util.concurrent.CompletableFuture<WorkspaceSymbol> |
resolveWorkspaceSymbol(WorkspaceSymbol workspaceSymbol)
The request is sent from the client to the server to resolve additional information
for a given workspace symbol.
|
default java.util.concurrent.CompletableFuture<org.eclipse.lsp4j.jsonrpc.messages.Either<java.util.List<? extends SymbolInformation>,java.util.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.
|
default java.util.concurrent.CompletableFuture<WorkspaceEdit> |
willCreateFiles(CreateFilesParams params)
The will create files request is sent from the client to the server before files
are actually created as long as the creation is triggered from within the client.
|
default java.util.concurrent.CompletableFuture<WorkspaceEdit> |
willDeleteFiles(DeleteFilesParams params)
The will delete files request is sent from the client to the server before files
are actually deleted as long as the deletion is triggered from within the client.
|
default java.util.concurrent.CompletableFuture<WorkspaceEdit> |
willRenameFiles(RenameFilesParams params)
The will rename files request is sent from the client to the server before files
are actually renamed as long as the rename is triggered from within the client.
|
default java.util.concurrent.CompletableFuture<java.lang.Object> executeCommand(ExecuteCommandParams params)
Registration Options: ExecuteCommandRegistrationOptions
default java.util.concurrent.CompletableFuture<org.eclipse.lsp4j.jsonrpc.messages.Either<java.util.List<? extends SymbolInformation>,java.util.List<? extends WorkspaceSymbol>>> symbol(WorkspaceSymbolParams params)
Registration Options: WorkspaceSymbolRegistrationOptions
default java.util.concurrent.CompletableFuture<WorkspaceSymbol> resolveWorkspaceSymbol(WorkspaceSymbol workspaceSymbol)
Since 3.17.0
void didChangeConfiguration(DidChangeConfigurationParams params)
void didChangeWatchedFiles(DidChangeWatchedFilesParams params)
default void didChangeWorkspaceFolders(DidChangeWorkspaceFoldersParams params)
Since 3.6.0
default java.util.concurrent.CompletableFuture<WorkspaceEdit> willCreateFiles(CreateFilesParams params)
WorkspaceEdit which will be applied to workspace
before the files are created. Please note that clients might drop results if computing
the edit took too long or if a server constantly fails on this request. This is
done to keep creates fast and reliable.
Since 3.16.0
default void didCreateFiles(CreateFilesParams params)
Since 3.16.0
default java.util.concurrent.CompletableFuture<WorkspaceEdit> willRenameFiles(RenameFilesParams params)
WorkspaceEdit which will be applied to workspace
before the files are renamed. Please note that clients might drop results if computing
the edit took too long or if a server constantly fails on this request. This is
done to keep renames fast and reliable.
Since 3.16.0
default void didRenameFiles(RenameFilesParams params)
Since 3.16.0
default java.util.concurrent.CompletableFuture<WorkspaceEdit> willDeleteFiles(DeleteFilesParams params)
WorkspaceEdit which will be applied to workspace
before the files are deleted. Please note that clients might drop results if computing
the edit took too long or if a server constantly fails on this request. This is
done to keep deletes fast and reliable.
Since 3.16.0
default void didDeleteFiles(DeleteFilesParams params)
Since 3.16.0
default java.util.concurrent.CompletableFuture<WorkspaceDiagnosticReport> diagnostic(WorkspaceDiagnosticParams params)
Since 3.17.0