Komodo 7 or 8 code completion for django

I am using Komodo 7 to write django / python code.

There is one thing that I really liked when I used Eclipse for my python things, and that was what I could do:

assert isinstance([variable],[type])

and because of this, the eclipse will determine the end of the coding for a particular variable.

Is there a way to do this with Komodo? IsInstance trick doesn't work here.

+5
source share
2 answers

The answer (via interjay) to this similar question suggests that you can add tips such as:

if 0: foo = Bar()

in the places where you used

assert isinstance(foo, Bar)

Not so pretty, of course ...

EDIT: it works for me, with Komodo Edit 6.0.3 and Komodo Edit 8.0.0

EDIT: , ( ).

+3
Go to Edit > Preferences. 
Expand the "Languages" group by clicking the [+] symbol. 
Click "Python". 
Click the little "Add..." button under "Additional Python Import Directories". 
Add the directory ABOVE your project and you should have intellisense enabled.

(Django)

+1

All Articles