Reply New Topic
2012/11/26 12:11:46
#1
Offline
Home away from home

Fixing ICMS Style Smarty delimiters in SublimeText

If you use sublimetext2 or textmate - no doubt you have seen that these editors register the icms style smarty delimiters as erroneous with the standard html syntax highlighter, and the smarty syntax highlighter available online is useless.


Good news! You can easily fix the smarty delimiters issue, and here is how.

Please note that I am a mac user - you will have to translate to windows if you use that OS :)

Steps:
1. Open /Users/<you>/Library/Application Support/Sublime Text 2/Packages/HTML/HTML.tmLanguage

Here you can either find the references to smarty and uncomment them - then update them to use the icms delimiters - or just copy this in.

http://mrtheme.com/files/HTML.tmLanguage.txt

Save - restart your editor and you are done.


2012/11/26 18:49:48
#2
Offline
Home away from home

Re: Fixing ICMS Style Smarty delimiters in SublimeText

Great and thank you! I installed SublimeText on my Ubuntu machine yesterday

/usr/lib/sublime-text-2/Pristine Packages/HTML.sublime-package.zip

Replace the file HTML.tmLanguage.txt and restart SublimeText, finish.

Works as well!


Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.