We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e74c4b commit b047237Copy full SHA for b047237
1 file changed
Plugins/UnLua/Source/UnLuaEditor/Private/UnLuaIntelliSense.cpp
@@ -110,6 +110,15 @@ namespace UnLua
110
// declaration
111
Ret += FString::Printf(TEXT("local %s = {}\r\n"), *EscapeSymbolName(TypeName));
112
113
+ // exported functions
114
+ const auto Exported = GetExportedReflectedClasses().Find(TypeName);
115
+ if (Exported)
116
+ {
117
+ TArray<IExportedFunction*> ExportedFunctions;
118
+ (*Exported)->GetFunctions(ExportedFunctions);
119
+ for (const auto Function : ExportedFunctions)
120
+ Function->GenerateIntelliSense(Ret);
121
+ }
122
return Ret;
123
}
124
0 commit comments