| 1 |
#pragma once |
| 2 |
|
| 3 |
#include "LibLsp/lsp/ExecuteCommandParams.h" |
| 4 |
|
| 5 |
#include "LibLsp/JsonRpc/RequestInMessage.h" |
| 6 |
#include "LibLsp/JsonRpc/lsResponseMessage.h" |
| 7 |
|
| 8 |
#include "LibLsp/JsonRpc/NotificationInMessage.h" |
| 9 |
|
| 10 |
/** |
| 11 |
* The workspace/executeCommand request is sent from the client to the |
| 12 |
* server to trigger command execution on the server. In most cases the |
| 13 |
* server creates a WorkspaceEdit structure and applies the changes to the |
| 14 |
* workspace using the request workspace/applyEdit which is sent from the |
| 15 |
* server to the client. |
| 16 |
* |
| 17 |
* Registration Options: ExecuteCommandRegistrationOptions |
| 18 |
*/ |
| 19 |
DEFINE_REQUEST_RESPONSE_TYPE(wp_executeCommand, ExecuteCommandParams, lsp::Any, "workspace/executeCommand"); |
| 20 |
|
| 21 |
DEFINE_NOTIFICATION_TYPE(Notify_sendNotification, ExecuteCommandParams, "workspace/notify") |