Latte Plugin for PhpStorm

Notice: This thread is very old.
Jan Tvrdík
Nette guru | 2595
+
+6
-

Latte Plugin for PhpStorm

Available in JetBrains Plugin Repository and on GitHub.

Installation
  1. Settings → Plugins → Browse repositories → Find “Latte” → Install Plugin → Restart IDE
  2. Settings → File Types → Make sure that “Latte template files” have registered pattern *.latte
Supported Features
  • Syntax highlighting
  • Code completion for both classic and attribute macros
  • Registering custom macros
  • Code folding
Known Limitations
  • Low-level macros {syntax} and {contentType} are not supported.
  • HTML tags cannot overlap neither with each other nor with macros.
  • None of the PhpStorm's features for HTML, CSS or JS will work in Latte files.

Last edited by Jan Tvrdík (2014-06-09 14:12)

Michal Vyšinský
Member | 608
+
+4
-

Hi,
thanks for this great plugin. Only one thing I really miss is a support of HTML features which offers IDE itself (formatting, emet, css class/ids autocompletion etc.). Do you plan to support it?

mishak
Member | 94
+
-2
-

Michal you can always request new feature or help implement it.

Michal Vyšinský
Member | 608
+
0
-

@mishak sorry, but its different plugin