From 3bbc83addc26d5c8003f7a440f27540a99e2ff57 Mon Sep 17 00:00:00 2001 From: "M. Moellney" Date: Sun, 3 May 2015 23:54:30 +0200 Subject: [PATCH] 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 Reviewed-by: Oswald Buddenhagen --- .../profilecompletionassist.cpp | 51 ++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/src/plugins/qmakeprojectmanager/profilecompletionassist.cpp b/src/plugins/qmakeprojectmanager/profilecompletionassist.cpp index 2ad37aee7f7..d83a5d5fc1c 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 };