Add dynamic created classes to autocomplete for pycharm 2018
Answered
Is there a way plugin or other vice to add dynamic created class and class trees to autocomplete. I do not mind that I have to execute my code to update this.
Regards
Anders
Please sign in to leave a comment.
There is no such feature in PyCharm. Vote for https://youtrack.jetbrains.com/issue/PY-30623 if you find it relevant or submit another feature request if needed.
I found that I could just generate a stub file while executing my code. It's not ideal but it gets the job done.
But I would like a way for dynamic classes to be available in autocomplete. I would not bother me that you would need to run som sort of compilation to build the tree of dynamic class/attributes for this to be possible.
Regards
Anders