Komodo 7或8的Django代码补全
我正在使用Komodo 7来编写我的django/python代码。
我在用Eclipse做Python编程的时候,有一件我特别喜欢的事,就是我可以这样做:
assert isinstance([variable],[type])
这样可以帮助Eclipse判断特定变量的代码补全。
请问在Komodo中有没有办法做到这一点?IsInstance这个技巧在这里不管用。
2 个回答
1
Go 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.
这将让你在你的项目文件(Django)中看到代码补全的功能。