I am using Sublime Text 2 - which i want to make it my default program for work.
I have install the Dreamweaver Theme - but i have some issues:
I dont know how to change the colors for tags (a, img, form, etc). There are all in the same color, not like in Dreamweaver CS4 (see pic).
How can i change colors for each?
I have this in my theme code:
<dict>
<key>name</key>
<string>html img tag</string>
<key>scope</key>
<string>text.html meta.tag.img - string</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#6d232eff</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>html form tag</string>
<key>scope</key>
<string>text.html meta.tag.form - string</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#ff9700ff</string>
</dict>
</dict>
But when i change the colors in the string tag, not working - is there something missing?
Thx in advance
It comes down to the language definition (
.tmLanguage
) file. By default the HTML language definition cuts off at the general tag level, don't ask me why, but it follows TextMate's Scope Selector pattern. From what I can tell is people write the language file using JSON, and then convert it to a.plist
file, and change the extension to atmLanguage
file.The easiest thing I found was to install Siddley's Enhanced HTML/ColdFusion package, use the enhanced HTML language, and one of the DW color schemes.
Try this:
Follow this step to apply colour scheme of Dreamweaver cs5 in your sublime.
Click here to download Dreamweaver Theme Zip File
How to apply colour scheme like Dreamweaver CS5
Change Font like dreamviwer after apply color scheme of dreamviwer.
Thanks