Django 的 Komodo 代码完成

发布于 2024-08-24 19:47:28 字数 424 浏览 2 评论 0原文

抱歉重复老问题,但我不太明白答案。

问题是:如何在 Komodo Edit 5.2 for Django 中启用自动完成功能 Komodo 编辑 - Django 代码完成?

“它已经在我的 python 上了路径(可以通过普通的旧 python shell 导入 django 的东西),但是,komodo 不知道它手动添加 dist-packages 文件夹可以修复它

特别是我不明白这部分。以粗体显示。

你能给我一个简单的一步一步的食谱吗?

使用 OSX Snow Leopard。

谢谢, 格雷格

Sorry to repeat old questions, but I didn't quite understand the answer.

The question was: How to enable auto-complete in Komodo Edit 5.2 for Django
Komodo Edit - code-completion for Django?

"It was already on my python path (could import django stuff via plain old python shell), however,komodo didn't know about it. Manually adding the dist-packages folder fixes it though"

In particular I don't understand the part in bold.

Can you give me a simple step by step recipe for that, please?

Using OSX Snow Leopard.

Thanks,
Greg

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

终陌 2024-08-31 19:47:28

转到文件 ->首选项->语言 -> Python。您可以在字段其他 Python 导入目录中添加 Django 文件夹(实际上是包含 Django 文件夹的文件夹)。

Go to File -> Preferences -> Languages -> Python. There you have the field Additional Python Import Directories where you can add the Django folder (actually the folder that contains the Django folder).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文