Skip to content

Releases: noctud/intellij-latte

v1.7.2 🐦

21 Apr 00:12

Choose a tag to compare

  • Faster branch switching and PSI reloads - no longer rereads the full file on every PSI change
  • Faster variable completion in macros - deduplication now uses a hash set
  • Fixed IllegalStateException on EDT when creating PSI for a Latte file

Full Changelog: v1.7.1...v1.7.2

v1.7.1 🦤

14 Apr 17:38

Choose a tag to compare

  • Fixed {first} tag producing false parser errors inside {foreach} loops (#17)
  • Fixed {first} and {last} width argument incorrectly marked as required

Full Changelog: v1.7.0...v1.7.1
Don't forget to also check the new Nette Plugin release.

v1.7.0 🐧

31 Mar 13:03

Choose a tag to compare

  • Added support for {syntax off}...{/syntax} - disables Latte macro parsing inside the block
  • Added support for {syntax double}...{/syntax} - switches macro delimiters to {{...}}
  • Added support for n:syntax="off" and n:syntax="double" attributes on HTML elements
  • Fixed NPE in file path resolution for virtual directories
  • Fixed IllegalStateException when creating a new Latte file

Full Changelog: v1.6.5...v1.7.0
Don't forget to also check the new Nette Plugin release.

v1.6.5 🐑

26 Mar 21:00

Choose a tag to compare

  • Fixed exception when viewing the settings form in the IDE (#16)

Full Changelog: v1.6.4...v1.6.5
Don't forget to also check the new neon plugin release.

v1.6.4 🐿️

25 Mar 20:37

Choose a tag to compare

  • Fixed variable assignment in conditions not detected as definition
  • Fixed false "multiple definitions" and "probably undefined" warnings for variables defined in {if}/{else}

Full Changelog: v1.6.3...v1.6.4
Don't forget to also check the new neon plugin release.

v1.6.3 🦜

23 Mar 19:05

Choose a tag to compare

  • Fixed false "probably undefined" variable warning in nested scopes
  • Fixed false warnings for function and arrow function parameters

Full Changelog: v1.6.2...v1.6.3
Don't forget to also check the new neon plugin release.

v1.6.2 🐳

22 Mar 14:48

Choose a tag to compare

  • Fixed variable resolution to respect scope contexts (foreach, if, block)
  • Fixed variables defined in inner scopes not being marked as "probably undefined" outside
  • Fixed inner variable definitions not correctly shadowing outer ones
  • Fixed type detection for typed variable definitions (e.g. {define input, float $name})
  • Fixed lexer handling of PHP closures inside latte tags (function() { })
  • Fixed type compatibility check for union types at different depths
  • Fixed deeply nested blocks/snippets producing errors on closing tags
  • Fixed null pointer errors during variable rename refactoring
  • Added tests for inspections, parser edge cases, lexer, and utilities
  • Changed CI to run tests on every push and PR

Full Changelog: v1.6.1...v1.6.2
Don't forget to also check the new neon plugin release.

v1.6.1 🦋

18 Dec 03:42

Choose a tag to compare

  • Fixed detection of links (starting with //)
  • Fixed warning about LatteCodeStyleSettingsProvider
  • Fixed few api deprecations

v1.6.0 🐦‍🔥

30 Aug 22:18

Choose a tag to compare

  • Added references to presenter components via {control ...} etc. (bidirectional)
  • Added autocompletion of presenter components (and their render methods)
  • Added link references from presenter class and methods actionSomething => {link something}
  • Added usage info in unused PHP fields that are used in latte
  • Fixed autocompletion of global functions at the start of the macro (#3)
  • Fixed indentation of HTML content inside tags on new lines (#2)
  • Improved presenter name resolving, when using {templateType} (for links and controls)

v1.5.5 🐇

25 Aug 15:18

Choose a tag to compare

  • Fixed autocompletion in {var}, {varType} and {templateType}