feat: Improve code suggestions

This commit is contained in:
Petr Mironychev
2025-11-14 13:22:33 +01:00
parent 0ca1decd97
commit d3f3752864
5 changed files with 276 additions and 46 deletions

View File

@ -41,5 +41,9 @@ public:
bool applyLine(TextEditor::TextEditorWidget *widget) override;
bool applyPart(Part part, TextEditor::TextEditorWidget *widget);
bool apply() override;
static int calculateReplaceLength(const QString &suggestion,
const QString &rightText,
const QString &entireLine);
};
} // namespace QodeAssist