logic: commandline indexing and configuration
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include "data/indexer/IndexerCommandList.h"
|
||||
#include "data/indexer/interprocess/InterprocessIndexer.h"
|
||||
#include "data/storage/StorageProvider.h"
|
||||
#include "utility/messaging/type/MessageStatus.h"
|
||||
|
||||
#if _WIN32
|
||||
const std::string TaskBuildIndex::s_processName("sourcetrail_indexer.exe");
|
||||
@@ -267,6 +268,16 @@ void TaskBuildIndex::updateIndexingDialog(
|
||||
blackboard->get("indexed_source_file_count", indexedSourceFileCount);
|
||||
}
|
||||
|
||||
if (!sourcePath.empty())
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << "[" << m_indexingFileCount
|
||||
<< "/" << sourceFileCount
|
||||
<< "] Indexing file: ";
|
||||
ss << sourcePath.str();
|
||||
MessageStatus(ss.str(), false, true).dispatch();
|
||||
}
|
||||
|
||||
if (std::shared_ptr<DialogView> dialogView = Application::getInstance()->getDialogView())
|
||||
{
|
||||
dialogView->updateIndexingDialog(
|
||||
|
||||
Reference in New Issue
Block a user