Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyDev and Django: Autocomplete not detecting Django?

I'm using PyDev with Django. The autocomplete works nicely in the shell - I start typing, and it suggests completions. However, this doesn't work in the main code editor window. How can I fix this?

I'm using:

Eclipse build #20100218-1602

PyDev 1.5.6

Eclipse IDE for Java Devs 1.2.2

like image 725
Nick Heiner Avatar asked Feb 28 '23 01:02

Nick Heiner


1 Answers

You might need to set the editor code completion settings. They are under:

Window->Preferences->PyDev->Editor->Code Completion

You might also need to add the Django install or your Django project to your path. You can set this under:

Window->Preferences->PyDev->Interpreter - Python

Hope this helps.

like image 185
tdedecko Avatar answered Mar 08 '23 07:03

tdedecko