Add the current project to the python path with Komodo Edit

我的未来我决定 提交于 2019-12-11 05:15:24

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!