Successfully referencing base in PyCharm

I was wondering if anyone had success with referencing instance variables like base and loader in the PyCharm IDE. pycharm actually works quite well with panda3d, successfully autocompleting things imported from core. An OnScreenImage:

But when autocompleting instance-based things (if that’s how you refer to them) such as base, loader, aspect2d/render2d, etc. they don’t work.

If anyone has had success with this I would love to get this set up correctly.

1 Like

You might be able to make this happen by explicitly assigning “base” to the ShowBase instance somewhere in the global scope, so that PyCharm can see it.

1 Like