Improved docstring features
A
Antonin Horvath
Current docstring parsing allows better autocompletion and type suggestions.
However, there's only a limited number of types that Ignition can parse from the Args or Returns sections.
What if other Python or Java types have to be passed to the function/method or returned from them? For example a "defaultdict" type, "LocaleDateTime" from Java or instance of a custom class.
Other nice feature would be to support true Google docstrings with proper formatting.
Sometimes, functions or methods raise an error, which can be explicitly specified in the docstring with Raises section. Ignition doesn't understand this section if present in the docstring. Also, if a function returns a generator, docstring should cointain Yields section instead of Returns - this is also not understood by Ignition.
It would be nice to have a better experience using Ignition scripting.
Log In