Files
clice/include/Basic/Document.h
2024-11-21 12:31:31 +08:00

23 lines
459 B
C++

#pragma once
#include "Location.h"
namespace clice::proto {
struct TextDocumentItem {
/// The text document's URI.
DocumentUri uri;
/// The text document's language identifier.
string languageId;
/// The version number of this document (it will strictly increase after each
/// change, including undo/redo).
uinteger version;
/// The content of the opened text document.
string text;
};
} // namespace clice::proto