This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
2 Replies Last post: Dec 11, 2013 5:28 AM by David Patterson  
David Patterson Newbie 19 posts since
Oct 5, 2013
Currently Being Moderated

Dec 6, 2013 2:16 AM

Can PhpStorm recognize custom Smarty tags?

I use Smarty extensively and one of the reasons that I selected PhpStorm as my IDE is that it actually supports Smarty templates and custom Smarty delimiters (I use {{ and }}).


I create a lot of custom Smarty tags.

Is there any way to inform PhpStorm of these tags so that the syntax highlighter colors them properly?


Even better would be if the syntax highlighter understood that they were custom and applied a different color.



Liubov Melnikova JetBrains 475 posts since
Nov 8, 2013
Currently Being Moderated
Dec 9, 2013 3:10 PM in response to: David Patterson
Re: Can PhpStorm recognize custom Smarty tags?



Custom tags won't be recognised as tags, e.g. {t} {/t} will be recognised as  { IDENTIFIER } { /IDENTIFIER } and {section} {/section} as {KEYWORD} {/KEYWORD}.


Could you describe the feature request to highlight custom tags more detailed in our tracking system YouTrack: ?


See if you are not familiar with YouTrack.

More Like This

  • Retrieving data ...