Posterous
Glen is using Posterous to post everything online. Shouldn't you?
Glenzangirolami_thumb
 

The Glenbot

Code and other thoughts about geeky stuff

Glen Zangirolami – Python developer, musician, sailor, creator.
           

Django Template Syntax Highlighting For Dreamweaver

Posted on January 14th, 2010 –  0 comments  –  django  python 

My development environment consists of Eclipse, Dreamweaver, and Putty

Eclipse can do syntax highlighting for Python with awesomeness but lacks in others.
I use Dreamweaver for syntax highlighting of HTML, CSS, and Javascript. The auto completion is great too.

But what about syntax highlighting of the Django template language?
Over time I created a simple coloring scheme with earthy tones to highlight just that.

To install the syntax highlighting you will need the following snippets of XML:

Add the scheme to CodeColoring.xml and the colors to Colors.xml then RESTART Dreamweaver

Windows XP
C:\Documents and Settings\<user>\Application Data\Adobe\Dreamweaver xx\Configuration\CodeColoring

Windows Vista/7
C:\Users\<user>\AppData\Local\Adobe\Dreamweaver xx\Configuration\CodeColoring

If you don't like the colors you can always change them by going to "Edit | Preferences | Code Coloring" in Dreamweaver, selecting "HTML", and clicking "Edit Coloring Scheme"


You will then find yourself with a list of styles for each scheme. Locate the Django scheme and you customize your colors
from there. 


Happy Coding! 
Loading mentions Retweet

Comments (0)

Drop me a line or two...

 
To leave a comment on this posterous, please login by clicking one of the following.
Posterous-login     Connect     twitter