问题
I've been using Komodo Edit for a small project in Django.
The code completion features seem to work pretty well for standard python modules, however, it doesn't know anything about Django modules. Is there any way to configure Komodo Edit to use Django modules for autocomplete as well?
回答1:
By sure Django is on your python path and Komodo should pick it up. Alternatively you can add the location of Django to where Komodo looks for its autocomplete.
回答2:
o 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.
This has always worked for me for both Django and my individual projects.
回答3:
Hmmm. It's installed by default so my answer probably isn't the right solution. :-)
But here goes...
You can install a Django extension in Komodo edit. I haven't tested it myself but you can test it.
Tools -> Add-ons -> Extensions
It's name is "Django Language".
Check if it works.
来源:https://stackoverflow.com/questions/1424392/komodo-edit-code-completion-for-django