Improvements
- Template Toolkit 2 support:
- Parsing of TT2 files
- Live templates for directives
- Configuration for template roots, file extensions and markers
- Smart completion of block markers
- Inspection for incorrectly positioned directives
- Files navigation and auto-completion
- Blocks navigation and auto-completion
- Methods detection and resolving:
- One-statement subs with: shift->something, $_[0]->{something} now considered to be methods. shift and $_[0] considered to be $self
- Subs with empty shift; as a first statement considered to be a method
- Subs with undef as first unpacked argument considered to be a method
- Constants are now being parsed as subs, so inheritance, inspections, annotations and gutter navigation should work on them too
- Variables can now be deprecated with #@deprecated annotation
- Typing space after use/no/package now opens auto-completion pop-up
Fixes
- Occasional exceptions on package auto-completion
- Exceptions with use strict/use warnings quick-fix on read-only files
- Occasional exceptions on SDK addition
Links