refactor: Add model output settings instead smartprocessing setting (#220)

This commit is contained in:
Petr Mironychev
2025-08-17 22:01:26 +02:00
committed by GitHub
parent 4b7eed2779
commit c36dffea93
7 changed files with 80 additions and 46 deletions

View File

@ -40,6 +40,11 @@ public:
*/
static QString detectLanguageFromExtension(const QString &extension);
/**
* Detects if text contains code blocks, or returns false if this was not possible
*/
static bool hasCodeBlocks(const QString &text);
private:
static QString getCommentPrefix(const QString &language);