The last couple of months I started a side-project where I want to add support for a python-xml framework in PyCharm. I have spent many hours trying to find a relevant tutorial, checking the source code of other plugins or the PyCharm itself and the amount of information seems overwhelming for me to digest.
I would kindly like to ask if anyone can point me towards the right direction for the following core feature:
I would like to extend the auto-completion for class members with items (class attributes and members) that appear on different .py files.
- Should I create new stub indices or can I modify existing ones to add the additional items? Any relevant tutorial or reference?
- What extension point should i use for that? "PyClassMembersProvider" seems a good choice but I cannot understand how it will interact and analyse the code. Probably access stubs? How can I do that?
Sorry for the messy structure of the question. Any thoughts or hints will be greatly appreciated.