Tasks: Show tool tips with information about the categories

When hovering an entry in the filter menu in the Issues view.
Also remove some categories that shouldn't be there.

Change-Id: Ifb367d69b9396c2fdc45b83ec5ffd88ac2f0eda7
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Eike Ziller
2023-07-11 14:14:40 +02:00
parent f16f09c390
commit 77c7e26779
15 changed files with 57 additions and 30 deletions

View File

@@ -77,9 +77,10 @@ ClangCodeModelPlugin::~ClangCodeModelPlugin()
void ClangCodeModelPlugin::initialize()
{
TaskHub::addCategory({Constants::TASK_CATEGORY_DIAGNOSTICS, Tr::tr("Clang Code Model")});
CppEditor::CppModelManager::activateClangCodeModel(
std::make_unique<ClangModelManagerSupport>());
TaskHub::addCategory({Constants::TASK_CATEGORY_DIAGNOSTICS,
Tr::tr("Clang Code Model"),
Tr::tr("C++ code issues that Clangd found in the current document.")});
CppEditor::CppModelManager::activateClangCodeModel(std::make_unique<ClangModelManagerSupport>());
createCompilationDBAction();
#ifdef WITH_TESTS