Eclipse IDE + Blender Python Guide

Hello, I would like to share with you how to set up your Blender python environment within Eclipse IDE.

1 Install Blender.
2 Install Eclipse IDE.
3 Install PyDev inside of Eclipse. Help → EclipseMarketplace.
4 Download Blender Autocomplete repository and unzip it.

5 Set up your python project and set Blender’s Python exe file. It should be located here:
yourpath/Blender/x.x/python/bin/python.exe
And add your path to the Blender Autocomplete folder

As a result you should have the Autocomplete.

Enjoy!

thx!
but can you debug with it?
if not you can use visual studio and this tut and then you can also debug your addon an real time ( you can see all the variables value, etc…)

Super! Visual studio code is a very nice alternative option.

I’m not a super expert in Eclipse. Did not try debugging. If someone more advanced could check the debugging in Eclipse I would appreciate it.

I recently moved to VS Code. Here is my simple setup:

1 Install Blender.
2 Install Visual Studio Code.
3 Download Blender Autocomplete repository and unzip it.
4 Open/Create your python project and create .env file in the root folder of your project.
5 Write in the .env file this line:
PYTHONPATH = yourPath/blender_autocomplete/3.0

And you will have autocomplete!

image

Thank you for this tip – VERY useful!

This would be a brilliant VS Code extension. Maybe I’ll dig into YO CODE and see if I can make one.