feat: Improve code suggestions (#256)

This commit is contained in:
Petr Mironychev
2025-11-14 17:02:43 +01:00
committed by GitHub
parent 0ca1decd97
commit 9ecd285d1d
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