#include "message_handler.h" namespace { struct Ipc_TextDocumentFormatting : public IpcMessage { const static IpcId kIpcId = IpcId::TextDocumentFormatting; lsRequestId id; lsTextDocumentFormattingParams params; }; MAKE_REFLECT_STRUCT(Ipc_TextDocumentFormatting, id, params); REGISTER_IPC_MESSAGE(Ipc_TextDocumentFormatting); struct Out_TextDocumentFormatting : public lsOutMessage { lsRequestId id; std::vector edits; }; MAKE_REFLECT_STRUCT(Out_TextDocumentFormatting, jsonrpc, id, edits); } // namespace