| 1 |
#pragma once |
| 2 |
|
| 3 |
#include "LibLsp/JsonRpc/RequestInMessage.h" |
| 4 |
#include "LibLsp/JsonRpc/lsResponseMessage.h" |
| 5 |
#include "LibLsp/lsp/lsTextDocumentPositionParams.h" |
| 6 |
#include "document_symbol.h" |
| 7 |
|
| 8 |
/** |
| 9 |
* The references request is sent from the client to the server to resolve |
| 10 |
* project-wide references for the symbol denoted by the given text document |
| 11 |
* position. |
| 12 |
* |
| 13 |
* Registration Options: TextDocumentRegistrationOptions |
| 14 |
*/ |
| 15 |
|
| 16 |
DEFINE_REQUEST_RESPONSE_TYPE( |
| 17 |
td_highlight, lsTextDocumentPositionParams, std::vector<lsDocumentHighlight>, "textDocument/documentHighlight" |
| 18 |
); |