| 1 |
#pragma once |
| 2 |
|
| 3 |
#include "LibLsp/JsonRpc/NotificationInMessage.h" |
| 4 |
|
| 5 |
#include "workspaceFolders.h" |
| 6 |
|
| 7 |
struct lsDidChangeConfigurationParams |
| 8 |
{ |
| 9 |
/** |
| 10 |
* The actual changed settings. |
| 11 |
*/ |
| 12 |
lsp::Any settings; |
| 13 |
MAKE_SWAP_METHOD(lsDidChangeConfigurationParams, settings); |
| 14 |
}; |
| 15 |
|
| 16 |
MAKE_REFLECT_STRUCT(lsDidChangeConfigurationParams, settings); |
| 17 |
|
| 18 |
/** |
| 19 |
* A notification sent from the client to the server to signal the change of |
| 20 |
* configuration settings. |
| 21 |
*/ |
| 22 |
DEFINE_NOTIFICATION_TYPE( |
| 23 |
Notify_WorkspaceDidChangeConfiguration, lsDidChangeConfigurationParams, "workspace/didChangeConfiguration" |
| 24 |
); |