Releases: noctud/intellij-latte
Releases · noctud/intellij-latte
v1.7.2 🐦
- 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
IllegalStateExceptionon EDT when creating PSI for a Latte file
Full Changelog: v1.7.1...v1.7.2
v1.7.1 🦤
- 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 🐧
- 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"andn: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 🐑
- 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 🐿️
- 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 🦜
- 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 🐳
- 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 🦋
v1.6.0 🐦🔥
- 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)