Todo plugin: add \todo keyword to default settings

As Qt Creator supports Doxygen style comments, the Todo plugin should
also find the \todo keyword by default.

Change-Id: Ic0acbcfe610b7752acfd77dfcc6717895f6e97b7
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Dominic Ernst
2023-08-23 07:18:49 +02:00
parent 6216c0e924
commit 72480f5dd6

View File

@@ -86,6 +86,11 @@ void Settings::setDefault()
keyword.color = theme->color(Utils::Theme::OutputPanes_NormalMessageTextColor);
keywords.append(keyword);
keyword.name = R"(\todo)";
keyword.iconType = IconType::Todo;
keyword.color = theme->color(Utils::Theme::OutputPanes_NormalMessageTextColor);
keywords.append(keyword);
keyword.name = "NOTE";
keyword.iconType = IconType::Info;
keyword.color = theme->color(Utils::Theme::OutputPanes_NormalMessageTextColor);