forked from qt-creator/qt-creator
Nim: Pass on parse errors to issues pane
When parsing the config of a nim project we may have parser issues that might be of interest for the user. Change-Id: Iefec8194fe625110579cda8cf840e03945e677b9 Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
#include <projectexplorer/projectmanager.h>
|
||||
#include <projectexplorer/toolchainmanager.h>
|
||||
#include <projectexplorer/runcontrol.h>
|
||||
#include <projectexplorer/taskhub.h>
|
||||
#include <texteditor/snippets/snippetprovider.h>
|
||||
|
||||
using namespace Utils;
|
||||
@@ -135,6 +136,7 @@ void NimPlugin::extensionsInitialized()
|
||||
Core::FileIconProvider::registerIconOverlayForMimeType(icon, Constants::C_NIM_SCRIPT_MIMETYPE);
|
||||
Core::FileIconProvider::registerIconOverlayForMimeType(icon, Constants::C_NIMBLE_MIMETYPE);
|
||||
}
|
||||
TaskHub::addCategory(Constants::C_NIMPARSE_ID, "Nim");
|
||||
}
|
||||
|
||||
} // namespace Nim
|
||||
|
||||
Reference in New Issue
Block a user