Komodo Edit - code-completion for Django?

耗尽温柔 提交于 2019-12-06 11:54:39

问题


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

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