forked from qt-creator/qt-creator
Add missing qmake functions to profile completer
A lot of qmake expand and test functions were missing from the ProFileCompletionAssistProvider. This patch brings the database on par with the listing in the qmake build in functions from current qmakebuiltins.cpp. Change-Id: I635776f6b449d62fd6a505969451e8630fb26ee8 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
committed by
Michael Möllney
parent
9a811e96d1
commit
3bbc83addc
@@ -238,28 +238,77 @@ static const char *const variableKeywords[] = {
|
||||
};
|
||||
|
||||
static const char *const functionKeywords[] = {
|
||||
"absolute_path",
|
||||
"basename",
|
||||
"cache",
|
||||
"cat",
|
||||
"clean_path",
|
||||
"clear",
|
||||
"CONFIG",
|
||||
"contains",
|
||||
"count",
|
||||
"debug",
|
||||
"defined",
|
||||
"dirname",
|
||||
"enumerate_vars",
|
||||
"equals",
|
||||
"error",
|
||||
"eval",
|
||||
"escape_expand",
|
||||
"exists",
|
||||
"export",
|
||||
"eval",
|
||||
"files",
|
||||
"find",
|
||||
"first",
|
||||
"for",
|
||||
"format_number",
|
||||
"fromfile",
|
||||
"getenv",
|
||||
"greaterThan",
|
||||
"if",
|
||||
"include",
|
||||
"infile",
|
||||
"isActiveConfig",
|
||||
"isEmpty",
|
||||
"isEqual",
|
||||
"lessThan",
|
||||
"join",
|
||||
"last",
|
||||
"list",
|
||||
"load",
|
||||
"log",
|
||||
"lower",
|
||||
"member",
|
||||
"message",
|
||||
"mkpath",
|
||||
"packagesExist",
|
||||
"parseJson",
|
||||
"prompt",
|
||||
"quote",
|
||||
"relative_path",
|
||||
"replace",
|
||||
"requires",
|
||||
"resolve_depends",
|
||||
"reverse",
|
||||
"re_escape",
|
||||
"section",
|
||||
"shadowed",
|
||||
"shell_path",
|
||||
"shell_quote",
|
||||
"size",
|
||||
"split",
|
||||
"sprintf",
|
||||
"sort_depends",
|
||||
"system",
|
||||
"system_path",
|
||||
"system_quote",
|
||||
"title",
|
||||
"touch",
|
||||
"unique",
|
||||
"unset",
|
||||
"upper",
|
||||
"val_escape",
|
||||
"write_file",
|
||||
"warning",
|
||||
0
|
||||
};
|
||||
|
Reference in New Issue
Block a user