Latte Plugin for PhpStorm
Notice: This thread is very old.
- Jan Tvrdík
- Nette guru | 2595
Latte Plugin for PhpStorm
Available in JetBrains Plugin Repository and on GitHub.
Installation
- Settings → Plugins → Browse repositories → Find “Latte” → Install Plugin → Restart IDE
- 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
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?