I am a Vim user and generally happy with it but I see some drags with Blender addon development when I use it. What editors and ways do you use to do your Blender development? Vim oriented solutions is prefered, but I am not against other ideas. The main thing I care is support for dark themes.

I also want proper Blender Api completion when using the editor. I will be mnostly on Windows.


  • $\begingroup$ Jacques Lucke started working on a VS Code extension just for blender development. An initial showcase is available here. You can install the extension from here. It should work fine, but if it didn't, report the issue to the developer to get it fixed as it is still in testing. $\endgroup$ – Omar Emara Nov 25 '18 at 6:27
  • $\begingroup$ thanks that looks great except that my dev desktop has no internet connection $\endgroup$ – yarun can Nov 25 '18 at 7:17
  • $\begingroup$ Not sure I follow, if you can't download anything, then why are you asking for suggestion on the editor to use? $\endgroup$ – Omar Emara Nov 25 '18 at 7:22
  • $\begingroup$ My desktop has no internet connection that would let an editor download extensions on demand. Naturally I can download Blender code, or an editor etc and upload to my desktop. It seems like I need to fire a command to install that extension, whichs seems like Vscode needs active internet connection. I never used Vscode before. $\endgroup$ – yarun can Nov 25 '18 at 7:26
  • $\begingroup$ The extension can be downloaded from the page I linked as a .vsix, which can then be installed manually in VS Code. Moreover, the extension will need three python modules, ptvsd, flask, and requests, which can be downloaded and then installed manually using pipe or setup.py. $\endgroup$ – Omar Emara Nov 25 '18 at 7:30

There are two general approaches:

  1. Use an auto-generate script to make stubs. The best one is probably fake_bpy, but that has shortcomings like missing bpy.context.

  2. Compile as a python module. This gives accurate completion, but the compilation process is not well documented and I haven’t managed to get it to work consistently. Some instructions can be found here.

The general state of tooling support for Python scripting right now is rather poor, so your best bet is to keep the API docs close at hand.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.