forked from qt-creator/qt-creator
CMakePM: Display help details for code completion
The first 1024 bytes from the CMake .rst files are displayed raw data. A .rst to html or markdown would be needed for nicer user experience. Change-Id: Ie6adbb404d844ae88b868b465d4125c2177e6cfe Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -1278,9 +1278,9 @@ void CMakeBuildSystem::setupCMakeSymbolsHash()
|
||||
m_cmakeSymbolsHash.insert(QString::fromUtf8(arg.Value), link);
|
||||
|
||||
if (func.LowerCaseName() == "option")
|
||||
m_projectKeywords.variables << QString::fromUtf8(arg.Value);
|
||||
m_projectKeywords.variables[QString::fromUtf8(arg.Value)] = FilePath();
|
||||
else
|
||||
m_projectKeywords.functions << QString::fromUtf8(arg.Value);
|
||||
m_projectKeywords.functions[QString::fromUtf8(arg.Value)] = FilePath();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user