forked from qt-creator/qt-creator
QmlJS: Show semantic messages on request.
* Add 'Run Checks' action (Ctrl-Shift-C) to perform checks on all projects. * Add 'QML Analysis' build issues category to separate clear errors from semantic analysis results. * Disabled automatic updating of analysis results. Change-Id: I4c948b1bd39f55655073e56c5e3ca7837f727665 Reviewed-on: http://codereview.qt.nokia.com/2850 Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
@@ -184,15 +184,7 @@ void AnalyzerRunControl::addTask(Task::TaskType type, const QString &description
|
||||
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
||||
TaskHub *hub = pm->getObject<TaskHub>();
|
||||
hub->addTask(Task(type, description, file, line, Constants::ANALYZERTASK_ID));
|
||||
|
||||
///FIXME: get a better API for this into Qt Creator
|
||||
QList<Core::IOutputPane *> panes = pm->getObjects<Core::IOutputPane>();
|
||||
foreach (Core::IOutputPane *pane, panes) {
|
||||
if (pane->displayName() == tr("Build Issues")) {
|
||||
pane->popup(false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
hub->popup(false);
|
||||
}
|
||||
|
||||
} // namespace Analyzer
|
||||
|
||||
Reference in New Issue
Block a user