Perl5 plugin version 1.3 released for IntelliJ IDEA
It has been almost two months since the release of the latest version of the plugin, and some even began to wonder if I had abandoned this business. No, not abandoned. Development is in full swing, and now a new version has been released.
In this issue: compatibility with 14 and 15 IDEA (and other products of the corresponding versions), support for Switch , Class::Accessor and Mason2 . ')
And now, a little more detail:
What's new?
Inspection for file level variables (I personally needed to transfer one project from CGI to mod_perl)
Autocompletion and code generation
Live-templates and autocomplete were heavily reworked, they became much smarter and faster.
Added string conversion to here-doc with the last used marker (fixed problem of converting multi-line strings)
Earn auto-insert quotes for regular expressions and quoting operators.
When creating a new function, you are offered names based on unresolved functions in the current file and the undefined methods of the parent classes.
Similarly, when creating a variable, names of unresolved variables are suggested.
Dumb and convenient autocomplete for indexes hashes, offers all the indices that I saw during the session
Added the ability to override the method of the parent class via UI
Settings
Self-variable names are now configurable.
The automatic implementation of languages in the here-doc based on the text of the marker can now be disabled in the settings
Code Style and Formatting
Settings for spaces in function call options
Remove spaces around hash indices, arrays and call / call chains
Setting and converting ${$hasref}{key} to $hashref->{key} and vice versa
Navigation
Quick transition to parent / child classes
Fast transition to overridden or override methods
Extensions
Switch module support (no frills and variations, basic functionality)
API Support Class::Acessor
Moose
Live-templates for Moose designs
Allowing inner and super calls
Exporter
Autocompet, navigation and refactoring of arrays @EXPORT and @EXPORT_OK
Inspection of unknown methods now ensures that there are only known functions.
Mason2
File support: main, additional, and barley components
Settings for component folders
Inheritance and auto-basing
Folding, autocomplication, formatting, navigation and refactoring of elements
Mojolicious
Rewritten parser. Must be faster and work better
Folding works correctly
Autocomplete closing tags
Perl code formatting
Funny story: citizens actively asked for Mason. And only after the implementation it turned out that Mason is Mason v2 and they wanted Mason v1, which is called HTML::Mason . Wat so wat ...
I will not give a list of fixes here, those interested can familiarize themselves with the list of changes.