You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Decrement remaining a further time for open generic below
115
+
if(!result.Component.HasGroup)
116
+
--remaining;
117
+
}
114
118
}
115
119
catch(Exceptionex)
116
120
{
117
-
Logger.Warn(ex.LogFormat($"Failed to make generic type for component [{result.Component.NiceName}] with [{parsedGeneric.GetNiceName()}] (from \"{eventData.Path.GenericType}\")!"));
121
+
Logger.Debug(ex.LogFormat($"Failed to make generic type for component [{result.Component.NiceName}] with [{parsedGeneric.GetNiceName()}] (from \"{eventData.Path.SearchGeneric}\")!"));
privatestaticreadonlyDefiningConfigKey<bool>_includeOpenGenericsWithGenericArgument=new("IncludeOpenGenericsWithGenericArgument","Include the open generic versions of components / nodes in the results even when the generic argument can be applied to them successfully.",()=>false);
28
+
27
29
privatestaticreadonlyDefiningConfigKey<int>_maxResultCount=new("MaxResultCount","The maximum number of component / node results to display. 'Better' results are listed first. Categories don't count.",()=>64)
28
30
{
29
31
newConfigKeyRange<int>(1,128)
@@ -35,6 +37,7 @@ public sealed class SearchConfig : SingletonConfigSection<SearchConfig>
35
37
};
36
38
37
39
privatestaticreadonlyDefiningConfigKey<string>_userExcludedCategories=new("UserExcludedCategories","Excludes specific categories from being searched into by path (case sensitive). Separate entries by semicolon. Search will work when started inside them.",()=>"/ProtoFlux");
0 commit comments