How do I get Smarty syntax highlighting in Webstorm

Hi all,

I'm am a web designer who almost exclusively uses CMS Made Simple to create content managed sites. CMSMS uses Smarty to create page and module templates.

I've recently evaluated phpStorm but it's waay overkill for my web building needs so I downloaded Webstorm. Same great specs and layout tools BUT no Smarty highlighting. Browsing through the plugins directory I came across the PHP plugin and installed it only to find it's for IntelliJ/phpStorm only.

I don't want to shell out twice the price for an IDE that's features are mostly useless to me, I just want an editor that will allow me to code HTML/CSS/JS/Smarty together.

Is there any way I can achieve this is webstorm?

Thanks for your help.

Keith

4 comments

Hi Keith,

  1. PhpStorm = WebStorm + PHP.
  2. Smarty support is part of PHP plugin.
  3. Therefore -- you cannot have it in WebStorm (unless someone will code their own Smarty plugin, which I see no point in doing this when you have already-existing plugin in place)
0

Andriy,

Thanks so much for replying and I get your point but it seems a little extreme to pay twice the price for phpStorm when I only need half the editor.

I think this probably means going with Textmate or something even though I prefer the layout of the Storm products.

Or maybe I should dip in and learn to write a Smarty plugin myself - would that be a relatively straightforward thing to do?

K

0

Or maybe I should dip in and learn to write a Smarty plugin myself - would that be a relatively straightforward thing to do?

Definitely not. This requires quite a complex java programming.

0

Hi Keith,

May I suggest you to contact sales department ( sales@jetbrains.com ) and ask if they have special upgrade price for those who would like to go to PhpStorm from WebStorm -- I have seen few threads on this forum where people were in similar situation and were suggested to do the same (to bad no body posted back the outcome so I'm not sure if that is possible).

0

Please sign in to leave a comment.