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

Method formatting

src/common/lsp/client/client.cpp:449–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449void Client::formatting(const DocumentFormattingParams &params)
450{
451 d->callMethod(lsp::V_TEXTDOCUMENT_FORMATTING,
452 QJsonDocument::fromJson(
453 QByteArray::fromStdString(toJsonValueStr(params)))
454 .object());
455}
456
457void Client::rangeFormatting(const QString &filePath, const DocumentRangeFormattingParams &params)
458{

Callers

nothing calls this directly

Calls 3

callMethodMethod · 0.80
toJsonValueStrFunction · 0.50
objectMethod · 0.45

Tested by

no test coverage detected