Autocompletion of entities (enums) in imported dlls or shared libraries?

Answered

Autocompletion works fantastic most of the time in Pycharm, and if I define an enum in python code, it works great. But if the enum is in a compiled imported dll (in this case generated by pybind11), it doesn't work as well. Is there a way to convince Pycharm to interrogated these dlls to extract the necessary information?

1 comment
Comment actions Permalink

PyCharm's static code analysis is not capable of looking into DLL files. It can generate skeletons for some of the binary files (see https://github.com/JetBrains/intellij-community/blob/f85dcc7c61df0d0da2012eb3cadeb583005aa969/python/helpers/generator3/core.py#L62), but DLL is not one of them.

0

Please sign in to leave a comment.