Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Perl5 plugin for IntelliJ IDEA 2017.1.3 released: formatting, Mojo, Moose, Exception::Class, Class::Accessor

by hurricup (Pilgrim)
on Jul 07, 2017 at 19:40 UTC ( [id://1194531]=perlnews: print w/replies, xml ) Need Help??

Updates

  • Formatter:
    • IMPORTANT: incompatible changes. Some options been removed or merged. Was not possible to migrate automatically. Please, check code style settings before formatting
    • Added option to align strings in QW lists
    • Added option to control spacing within QW lists
    • Added option to align fat commas
    • Added option to align ternary expressions operators
    • Added option to align -> in chained dereferences
    • Added options for braces position in subs, namespaces and compound statements
    • Comma is no longer wrapped to the next line
    • Several minor fixes and improvements
  • Implemented Exception::Class module support, #848
  • Restored and improved Class::Accessor support, #1395
  • Mojolicious helpers parsing been re-worked. Should work better now
  • Mojolicious attributes are now supported
  • Moose attributes works again, plugin now understands all declarations generated by single has statement.
  • You are now able to use a single -bareword argument in use statement, like use Mojo::Base -strict;
  • Recursive inheritance inspection is now available (again)
  • Annotations works with all new implemented features (Moose, Mojo, Exception::Class, Constants)

Fixes

  • printf FH is now parsed properly. By nazarov-yuriy.
  • Suppressed lexing of &~ as non-existing internal variable. #1449
  • Resolve of dereference chain if comment is inside it, #1483
  • Parsing confusion with archaic package format, #1506
  • Resolve of fancy calls and objects methods constructed in fancy manner my $obj = new Foo::Bar();, #1471
  • Empty POD node should not appear in file structure anymore
  • Created a lot of tests for plugin and fixed a lot of minor bugs

Links

  • Comment on Perl5 plugin for IntelliJ IDEA 2017.1.3 released: formatting, Mojo, Moose, Exception::Class, Class::Accessor
  • Select or Download Code

Replies are listed 'Best First'.
Re: Perl5 plugin for IntelliJ IDEA 2017.1.3 released: formatting, Mojo, Moose, Exception::Class, Class::Accessor
by stevieb (Canon) on Jul 08, 2017 at 14:39 UTC

    Once again hurricup, thank you very much and keep up the great work!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlnews [id://1194531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found