Win Setting Auto-Completion with Eclipse and PyDev
#1
I have started developing for XBMC, and followed the guide at http://wiki.xbmc.org/index.php?title=How...th_Eclipse which has worked excellent. However, I am currently having an issue where the xbmc libraries are not recognized, and as such, the auto-complete doesn't work either.

The guide mentions that I need to Import the File System, which I did with the directory that contains all the libraries. For some reason it still can't locate them properly. How can I correct this?

Image
Reply
#2
For code completion have a look to xbmcstubs (twinther's fork should be up2date).

regards,
sphere
My GitHub. My Add-ons:
Image
Reply
#3
Thank you for the link. I downloaded those and set them up, but noticed it still wasn't working. After reading further into the guide at http://wiki.xbmc.org/index.php?title=How...th_Eclipse and the PyDef Manual, I found that I needed .pypredef files.

I found these at http://code.google.com/p/bossanova808-xb...5e449aa58d and went ahead and copied them into the same folder as the stubs from Twinther. I proceeded to configure Eclipse -> Windows -> Preferences -> Interpreter - Python -> Predefined and listed the directory with these files. However, I am still getting "unresolved import" for "xbmc", "xbmcgui", etc.

Is there anything else I can check, or may potentially be missing?
Reply

Logout Mark Read Team Forum Stats Members Help
Setting Auto-Completion with Eclipse and PyDev0