本文介绍了Eclipse中的Django模板语法高亮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用Eclipse和pydev进行django开发。这或多或少的工作,包括调试。语法突出显示似乎无处不在。我无法得到任何突出显示的模板想法。有没有办法得到模板的突出显示和代码建议?解决方案
最新的PyDev版本包括一个Django模板编辑器,但它与香草Eclipse不兼容。您必须使用Aptana Studio。
只需使用作为更新URL,PyDev和Django模板编辑器包应该在那里。
I use Eclipse and pydev for django development. This has worked more or less ok, including debugging. Syntax highlighting doesn't seem to work everywhere though. I couldn't get any highlighting for the templates thought. Is there a way to get the highlighting and code suggestions for the templates?
解决方案
The latest PyDev versions include a Django template editor, but it's not compatible with vanilla Eclipse. You have to use Aptana Studio instead.
Just use http://pydev.org/nightly as update URL, the PyDev and Django template editor packages should be there.
这篇关于Eclipse中的Django模板语法高亮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!