forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user