Support .pyi files in intelli prompt

SyntaxEditor Python Language Add-on for WPF Forum

The latest build of this product (v25.1.0) was released 26 days ago, which was before this thread was created.
Posted 6 days ago by Tobias Lingemann - Software Devolpment Engineer, Vector Informatik GmbH
Avatar

Hi,

we are currently adding support for compiled python files (.pyd) and obviously these cannot be shown in the intelli prompt. Now it is my undestanding that usually the user has to generate a stub and save this as a .pyi file.

So my idea would be that if you find a .pyi file without a corresponding .py file, you can parse the .pyi file instead to show the interface of the module.

Best regards,
Tobias


Best regards, Tobias Lingemann.

Comments (1)

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

Hi Tobias,

Thanks for the suggestion.  We already use the stub file ideas in some cases (via .py files) but aren't currently looking for .pyi stub files yet.  We'll add that suggestion to our TODO list.


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.