forked from qt-creator/qt-creator
CMakePM: Handle include(CMakeFileWithoutSuffix) navigation
Check that the function operating upon is "include" and then match the word under cursor with a file from the project. Change-Id: Ia0131f08515c56582a1fb02a59d6b2e41ac04288 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -123,6 +123,7 @@ public:
|
||||
CMakeKeywords projectKeywords() const { return m_projectKeywords; }
|
||||
QStringList projectImportedTargets() const { return m_projectImportedTargets; }
|
||||
QStringList projectFindPackageVariables() const { return m_projectFindPackageVariables; }
|
||||
const QHash<QString, Utils::Link> &dotCMakeFilesHash() const { return m_dotCMakeFilesHash; }
|
||||
|
||||
signals:
|
||||
void configurationCleared();
|
||||
@@ -228,6 +229,7 @@ private:
|
||||
QList<CMakeBuildTarget> m_buildTargets;
|
||||
QSet<CMakeFileInfo> m_cmakeFiles;
|
||||
QHash<QString, Utils::Link> m_cmakeSymbolsHash;
|
||||
QHash<QString, Utils::Link> m_dotCMakeFilesHash;
|
||||
CMakeKeywords m_projectKeywords;
|
||||
QStringList m_projectImportedTargets;
|
||||
QStringList m_projectFindPackageVariables;
|
||||
|
||||
Reference in New Issue
Block a user