Statistics
94
20
28d
Badges
Tags
ide

Latte Plugin for IntelliJ IDEA / PhpStorm

Provides support for Latte – a template engine for PHP.

Installation

Settings → Plugins → Browse repositories → Find "Latte" → Install Plugin → Restart IDE

Supported Features

  • Syntax highlighting
  • Code completion for both classic and attribute macros
  • Registering custom macros

Known Limitations

  • Low-level macros {syntax} is not supported, {contentType} is supported partially.

Screenshot

  • v1.0.2 v1.0.2

    • added code style settings (settings for use tabs or spaces) (issue #46, #30)
    • added support for define variable in tag {default $foo = 123}
    • added class namespaces completion
    • added support for define variables by {php [$foo, $bar] = $arr}
    • implemented some performance improvements
    • fixed resolving methods if a type is more classes FooClass|BarClass
    • fixed completion for unpaired macro after if missing end }
    • fixed filters on variables (issue #47)
    • fixed wrong indent for elseifset (issue #42)
    • fixed multiple variable definitions in for/foreach cycles
    • fixed auto-complete (disabled in strings, more improvements)
    • increased minimum compatibility to 2018.3
  • v1.0.1 v1.0.1

    • Fixed compatibility issues
    • Fixed structure view (added n:tags and images)
  • v1.0.0 v1.0.0 - PHP content support

    • Added PHP content support
  • v0.3.3

    • fixed null pointer exception
  • v0.3.2

    • fixed disappearing comments
    • Latte 2.4: added new macros
    • Latte 2.4: added AUTO_EMPTY support
    • Latte 2.4: added info about deprecated macro(s)
  • v0.3.1

    Fixed compatibility with PhpStorm 9.0

  • v0.3.0

    • fixed comment parsing ("todo" support)
    • added "modifier not allowed" inspection
    • added structure view
    • improved macro folding
  • v0.2.0

    • html/xml support
    • better macro content parsing
    • parsing of n:macros content

Is this addon outdated? Did you find an issue? Please report it.

Componette Componette admin@componette.com