Are there any editors that does syntax highlighting for Django templates?
Like of I put my cursor开发者_开发百科 on an opening forloop tag the closing forloop tag will be highlighted like most IDEs?
Preferably free.
Off the top of my head I know Vim, Emacs, Textmate and PyCharm all support Django's template syntax, and I'd imagine many more do as well. They all support customizable syntax highlighting/completion. I've been particularly impressed with PyCharm's Django support, but there are many good IDEs/Editors out there. Pick one, and then look around a bit.
Pydev author's post here says pydev featured in Aptana Studio 3 has it.
KomodoEdit should have not only syntax highlighting, but even autocompletion for django templatetags and filters. Also, it highlights syntax (and autocompletes) in files with mixture of languages which is especially useful when working with django templates, where you frequently need to edit code in three or four languages (django/html/css/javascript).
精彩评论