Autocompletion of entities (enums) in imported dlls or shared libraries?
已回答
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?
请先登录再写评论。
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.