logic: indexer count and fixes
* added option to define the amount of parallel indexers in the appsettings * fixed unparsed files query in ASTVisitor * fixed: to update a node's type in the storage the node does not have to be defined anymore
This commit is contained in:
@@ -143,6 +143,16 @@ void ApplicationSettings::setFontSizeStd(const int fontSizeStd)
|
||||
setValue<int>("application/font_size_std", fontSizeStd);
|
||||
}
|
||||
|
||||
int ApplicationSettings::getIndexerThreadCount() const
|
||||
{
|
||||
return getValue<int>("application/indexer_thread_count", 4);
|
||||
}
|
||||
|
||||
void ApplicationSettings::setIndexerThreadCount(const int count)
|
||||
{
|
||||
setValue<int>("application/indexer_thread_count", count);
|
||||
}
|
||||
|
||||
int ApplicationSettings::getCodeTabWidth() const
|
||||
{
|
||||
return getValue<int>("code/tab_width", 4);
|
||||
|
||||
Reference in New Issue
Block a user