[Closed] Improved Blueprint Function Discoverability
Here's a very common situation new users to a code base will find themselves in:
You want to call a function, you don't know what it's called, but you suspect it exists. How do you find it? Well, in code you start searching synonyms hoping one of them is contained in the function name, or the documentation.
One really good discoverability improvement you guys could make to blueprints is to also search the tooltip provided for a function, and present those options as well.
To ensure order, and prioritization of the most likely candidates you may need to use an algorithm like Term Frequency - Inverse Document Frequency to ensure the most relevant functions show up first, and weight words found in the function name.
Or alternatively provide the functions that contained the word searched in a tooltip, but not the function name in a list of "maybes" below some horizontal divide, to separate out the current list from this new "possibility" list.
asked Mar 11 '14 at 02:45 AM in Blueprint Scripting
ue4-archive ♦♦ STAFF
The question has been closed Oct 03 '14 at 05:08 PM by Doug E for the following reason:
This is a question from the beta version of the engine. We are marking this answered for tracking purposes. If you are experiencing an issue similar to this please post a new question.
answered Oct 03 '14 at 05:08 PM
We actually used to filter functions based on their comment as well, but we found this returned a lot of unhelpful functions, that crowded out the ones you actually wanted when you did know what you were looking for. I can see the value when you don't know though. Tricky problem! We are going to allow custom 'keywords' for functions, though, which will let us fix issues like the one in the screenshot above. It will just take time to populate those keywords.
If we fail to find any function names containing the words you type, maybe something like you suggest where we show 'maybe you meant this?'.
answered Mar 11 '14 at 02:45 AM
ue4-archive ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here