[CodeComplete] Add option to add calls with no defaults (or not)

Now that arguments are marked up with whether they have a default or
not, clients may not need the extra call (that has no default
arguments). Add an option to allow not adding this item.

Resolves rdar://85526214.
This commit is contained in:
Ben Barham
2021-12-02 14:30:10 +10:00
parent 4187875ac6
commit 65ef8020de
8 changed files with 90 additions and 63 deletions

View File

@@ -45,6 +45,7 @@ struct Options {
bool fuzzyMatching = true;
bool annotatedDescription = false;
bool includeObjectLiterals = true;
bool addCallWithNoDefaultArgs = true;
unsigned minFuzzyLength = 2;
unsigned showTopNonLiteralResults = 3;