MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / OnClose

Method OnClose

CodeFormatServer/src/LSP/LSPHandle.cpp:174–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174std::shared_ptr<lsp::Serializable> LSPHandle::OnClose(
175 std::shared_ptr<lsp::DidCloseTextDocumentParams> params) {
176 _server->GetVFS().ClearFile(params->textDocument.uri);
177 return nullptr;
178}
179
180std::shared_ptr<lsp::Serializable> LSPHandle::OnEditorConfigUpdate(
181 std::shared_ptr<lsp::ConfigUpdateParams> params) {

Callers

nothing calls this directly

Calls 1

ClearFileMethod · 0.80

Tested by

no test coverage detected