Next version of Perl5 plugin for IntelliJ IDEA has been released:
Features & Improvements:
- Implemented wrapping of comma sequences
- Implemented aligning of arrows in comma sequences
- Implemented identifiers validation (NB: only ASCII allowed atm)
- return is now parsed as a keyword
- Implemented support for method and func constructions as documented in the Method::Signature::Simple
- Implemented parsing for Perl5 native signatures.
- Implemented smartkeys option for here-doc terminator auto-insertion, fixes #589
- Implemented formatting and alignment for ternary operator, fixes #591
- Implemented folding for qw lists, fixes #619
- Simple main:: subs resolution is now optional and configurable via Perl5 settings, fixes #633.
- Code style:
- Implemented Perl5-specific CodeStyle settings panel, fixes #422
- Implemented optional quotes automatic insertion/removing, fixes #135. NB: numeric values are not quoted/unquoted.
- Implemented optional dereference insertion/removing between hash/array indexes, fixes #123.
- Implemented optional parentheses insertion/removing in statement modifiers.
- Implemented conversion $var->{key} to $$var{key} and vice versa, fixes #575.
- Implemented conversion @$array_ref to @{$array_ref} and vice versa (does not affects hash/array elements or slices).
- Implemented conversion main:: to :: and vice versa, fixes #491
- Implemented spacing settings for braces and brackets of anon hashes and arrays respectively, fixes #604
- Implemented spacing options for concatenation and range operators, fixes #630
- Moose and Moo (as far as it's compatible with Moose):
- Implemented proper use Moose; and use Moo; processing.
- Implemented Moose/Moo keywords parsing and autocompletion: inner, super, meta.
- Implemented extends and with statements support.
- Implemented resolution and refactoring in method modifiers: around, after, before and augment.
- Implemented parsing, resolution and refactoring for override statement (some annotations works).
- Implemented parsing, resolution and refactoring for has statement (some annotations works).
Fixes:
- Chained resolution works well if there are spaces, new lines or comments between elements, fixes #525
- Here-doc markers and constants re-factoring in Embedded Perl and Mojo files should now work in-place, fixes #524
- SUPER methods now resolved properly even if invoked on unknown variable, fixes #534
- Here-doc reference should work fine after converting string to here-doc, fixes #541
- Removed redundant indetion of eval and do blocks on re-formatting, fixes #523
- POD is now properly treated as statement (which can, however, be before elsif/else/continue blocks), fixes #522
- Package names auto-completion now works in qw expression, fixes #540
- foreach compound live template now has default values which prevents formatting bugs on inserting, fixes #519
- Recursive inheritance inspection is absolutely redundant, disabled, fixes #517
- Local re-declarations of built-in variables are not marked as unused anymore (like $/), fixes #533
- Removed empty prototype from generated constructor, fixes #537
- Extra close parenthesis and brackets now handled smarter, should improve parser's recovery, fixes #503
- Error block contents now couldn't be re-formatted to avoid unexpected effects, fixes #506
- Fixed possible NPE on file renaming
- Fixed parsing of $$ ^ int expression, fixes #543
- Pragma namespaces are no more being decorated in variables, fixes #502
- Improved argumentless built-ins parsing in leftward calls, fixes #492
- Find usages working properly if entity is being used only in literals, fixes #496
- Improved comma sequence indention, fixes #417
- Fixed formatting for sub definition attributes
- Grep/map/sort blocks and one-statement blocks are not being butified anymore.
- Here-doc with unquoted opener is now properly treated as QQ here-doc.
- Fixed problem with unary plus/minus formatting, fixes #571
- Fixed bug with // formatting, fixes #594
- Fixed problems with indention inside ternar operator, fixes #592
- Fixed possible NPE on re-formatting line with here-doc opener, fixes CAMELCADE-28
- Implemented proper formatting for match and notmatch operators, fixes #629
- Fixed parsing for pow operator, fixes #626
- Fixed quotes typing process, fixes #626
Links
Bugreports and feature requests are always welcome!
|
|