I am wondering if anyone is able to get Blender Python related auto completion in their IDEs/EDs properly without hacks or fake libs.
Here I assume you installed bpy modules properly under your System’s Python installation. I believe (after I compiled Blender as Py module) installed them right because I can actually import bpy and its derivatives in Ipython and do scene manipulation.
Within all the tools I tested (includes Spyder, Vscode, Vim, Eclipse, Ipython, PyCharm etc) it seems like there are only three tools that does completion to perfection, as in perfect enough that it actually saves time.
First one is Eclipse with Pydev. The second one is Ipython. The third one is Spyder. These three just work meaning that they can traverse well to methods and functions like
bpy.context.selectable_objects no problem. And they do not require any further tricks as long as Blender Python installed as module in the Python libs.
All the other tools I tested either fail miserably or waste of time when it comes to code completion for Blender Python.
Vscode: It is a super nice editor, but intellisense and all that jazz is a joke when
it comes to Blender Python. It barely does proper Python completion in my case. Vscode also offers “Jedi” as the completion backend, this works much better but it is slow as hell, like 10 secs per completion, so scratch that as well.
PyCharm: Nice editor but Blender Python is a joke, none, nothing even after adding bunch of Blender Python modules manually.
Vim: My default editor, if you take your time you might be able to get some dictionary, word and Python completion but I was not able to get Blender stuff completed.
I am wondering if anyone outthere got proper Python autocompletion for Blender with the editors that failed in my case. I especially would like to get that working properly in Vscode since it is kind of my default Blender dev environment.