forked from qt-creator/qt-creator
Add locator filter for all included files.
Collects all included files from any file of any project or that is open in an editor. It has the same shortcut as the files from any project filter and is also enabled by default. Task-number: QTCREATORBUG-280 Change-Id: I7cd89ee68d2f8ec4e0ea03de0c11671f489c47dc Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
#include "cpptoolsreuse.h"
|
||||
#include "cppprojectfile.h"
|
||||
#include "cpplocatordata.h"
|
||||
#include "cppincludesfilter.h"
|
||||
|
||||
#include <coreplugin/actionmanager/actioncontainer.h>
|
||||
#include <coreplugin/actionmanager/actionmanager.h>
|
||||
@@ -160,6 +161,7 @@ bool CppToolsPlugin::initialize(const QStringList &arguments, QString *error)
|
||||
addAutoReleasedObject(locatorData);
|
||||
addAutoReleasedObject(new CppLocatorFilter(locatorData));
|
||||
addAutoReleasedObject(new CppClassesFilter(locatorData));
|
||||
addAutoReleasedObject(new CppIncludesFilter);
|
||||
addAutoReleasedObject(new CppFunctionsFilter(locatorData));
|
||||
addAutoReleasedObject(new CppCurrentDocumentFilter(modelManager, m_stringTable));
|
||||
addAutoReleasedObject(new CppFileSettingsPage(m_fileSettings));
|
||||
|
||||
Reference in New Issue
Block a user