Resolving return types in external module

SyntaxEditor Python Language Add-on for WPF Forum

The latest build of this product (v2019.1 build 0684) was released 1 month ago, which was before this thread was created.
Posted 14 days ago by Jeffrey Mikell
Version: 19.1.0684
Avatar

I am evaluating the Syntax Editor with the Python Addon (build 19.1.0684) for use with a custom api in a few products.  I have encountered some situations where the resolver is unable to properly determine the return types.  Is there anything i can do to help the resolver determine the return type in the current build?  Also is there any plan to use type hinting in the next version to help the resolver determine the return type?

Comments (1)

Posted 14 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Jeff,

Since the add-on doesn't have a full interpreter to run, sometimes the return types can't be determined.  We do have a callback method that fires in those cases.  Please see the "SyntaxEditor / Python Language Add-on / Python Language / Resolver" topic in the documentation that comes with the product for more detail on that.


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.