Home Download Buy Blog Forum Support

Is there a Smarty plugin for Sublime Text?

Re: Is there a Smarty plugin for Sublime Text?

Postby jfse on Wed Sep 26, 2012 1:45 pm

I have a small issue with this smarty plugin, quotes (single and double) printed outside smarty tags are interpreted as start of string.
Meaning if I have "hasn't" as a string in html, or even a html-comment, the rest of the file will be interpreted as being in a string.

I'm hoping this could be changed by tweaking a regexp or two in the settings-file, but before I try to understand how they work on my own, does anyone else know?
jfse
 
Posts: 1
Joined: Wed Sep 26, 2012 1:38 pm

Re: Is there a Smarty plugin for Sublime Text?

Postby gianiaz on Thu Dec 27, 2012 11:27 am

This method works for me, but unfortunately the emmet plugin doesn't work if I use smarty syntax highligher. Any suggestion?

Another question about this, if I want to limit the scope of snippets to html and tpl files what I should use as scope? I've tried source.tpl and text.tpl, but It seems it's not the right choice :-)

Thank you
gianiaz
 
Posts: 5
Joined: Thu Dec 27, 2012 7:31 am

Previous

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 8 guests