MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / didClose

Function didClose

src/common/lsp/protocol/protocol.cpp:726–737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

724}
725
726QJsonObject didClose(const QString &filePath)
727{
728 QJsonObject textDocument {
729 { K_URI, QUrl::fromLocalFile(filePath).toString() }
730 };
731
732 QJsonObject params {
733 { K_TEXTDOCUMENT, textDocument },
734 };
735
736 return params;
737}
738
739QJsonObject hover(const QString &filePath, const Position &pos)
740{

Callers 1

closeRequestMethod · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected