Home Download Buy Blog Forum Support

Smarty Color Coding Questions

Smarty Color Coding Questions

Postby mistergoomba on Mon Apr 30, 2012 9:41 pm

I'm working with Smarty and found on Google how to work in Smarty template color coding into Sublime Text 2. Here are my questions:

1) I'd like everything inside of a particular Smarty tag {NCMB type="text/javascript"} ... {/NCMB} to use JavaScript or CSS color coding based on the type parameter

2) When I use {literal} tags, it kills the color coding. Can I have that removed?

Thanks in advance!
Posts: 1
Joined: Mon Apr 30, 2012 9:38 pm

Re: Smarty Color Coding Questions

Postby atomi on Tue May 01, 2012 1:38 am

What syntax language are you using.
It should say on the far right of your status bar.

You'll need to edit the tmLanguage file for that syntax to get the color highlighting you want.
Posts: 345
Joined: Thu Jan 20, 2011 5:06 pm
Location: Los Angeles CA US

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 25 guests