问题
Ive been using komodo edit recently to go through a few django tutorials, and ive been impressed with the level of code completion it provides for the framework.
However what i really want it to do is provide code completion for the current project, so in effect my own views, models etc. would work in the same way as the framework itself.
Is there a way to temporarily modify the python path on a per project basis to get code completion of my current project?
NB: Im not sure whether this is a Stack Overflow or a Super User question, feel free to correct me.
回答1:
You can set per-project Python paths in Project [Menu] -> Properties -> Languages -> Python -> Additional Python Import Directories
. See the official documentation for more details.
来源:https://stackoverflow.com/questions/4284767/add-the-current-project-to-the-python-path-with-komodo-edit