Allow function descriptions to register if the description is also defined inside a function

Currently, function descriptions are only shown if they’re defined before the function definition. For example:

Which will show up in autocomplete:

But, it’s also common practice to define descriptions inside the function:

Unfortunately, this does not show up in autocomplete:

4 Likes