Show the predefined macros in the completion box.

This commit is contained in:
Roberto Raggi
2010-08-04 13:10:41 +02:00
parent 6905b6a5af
commit 70f605065f

View File

@@ -1105,6 +1105,7 @@ void CppCodeCompletion::globalCompletion(Scope *currentScope)
completeNamespace(b);
addKeywords();
addMacros(QLatin1String("<configuration>"), context.snapshot());
addMacros(context.thisDocument()->fileName(), context.snapshot());
}