diff --git a/IDE/src/ui/AutoComplete.bf b/IDE/src/ui/AutoComplete.bf index aaacec2e..e4e1dcd8 100644 --- a/IDE/src/ui/AutoComplete.bf +++ b/IDE/src/ui/AutoComplete.bf @@ -2426,11 +2426,6 @@ namespace IDE.ui } continue; } - else if (entryDisplay.Length == 0) - { - // Skip entry that has no name - continue; - } switch (entryType) { diff --git a/IDEHelper/Compiler/BfAutoComplete.cpp b/IDEHelper/Compiler/BfAutoComplete.cpp index 951da61e..9f0cc6a3 100644 --- a/IDEHelper/Compiler/BfAutoComplete.cpp +++ b/IDEHelper/Compiler/BfAutoComplete.cpp @@ -842,6 +842,8 @@ void BfAutoComplete::AddField(BfTypeInstance* typeInst, BfFieldDef* fieldDef, Bf void BfAutoComplete::AddProp(BfTypeInstance* typeInst, BfPropertyDef* propDef, const StringImpl& filter) { + if (propDef->mName.IsEmpty()) + return; int wantPrefixCount = 0; const char* filterStr = filter.c_str(); while (filterStr[0] == '@')