diff options
author | M. Moellney <mail@michaelmoellney.de> | 2015-05-03 23:54:30 +0200 |
---|---|---|
committer | Michael Möllney <mail@michaelmoellney.de> | 2015-05-04 10:24:02 +0000 |
commit | 3bbc83addc26d5c8003f7a440f27540a99e2ff57 (patch) | |
tree | 068f9d8273ae1876899210eb861866f39428d69c | |
parent | 9a811e96d16b0cb06087aaca7f46ffdd06d3db3e (diff) |
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>
-rw-r--r-- | src/plugins/qmakeprojectmanager/profilecompletionassist.cpp | 51 |
1 files changed, 50 insertions, 1 deletions
diff --git a/src/plugins/qmakeprojectmanager/profilecompletionassist.cpp b/src/plugins/qmakeprojectmanager/profilecompletionassist.cpp index 2ad37aee7f..d83a5d5fc1 100644 --- a/src/plugins/qmakeprojectmanager/profilecompletionassist.cpp +++ b/src/plugins/qmakeprojectmanager/profilecompletionassist.cpp @@ -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 }; |