Next version of Camelcade - Perl5 plugin for IntelliJ IDEA has been released. This is an important milestone for me: year ago i've started to work on this plugin and in one year more than 2000 commits has been made!
Features & Improvements
- POD support: live templates, completion, navigation, refactoring and few useful inspections
- Context help: hit Ctrl+Q on element in question and get your answer from pod files or inline pod
- Mojolicious helpers support: navigation, completion and refactoring. NB: helpers should be declared explicitly, $app->helper($_, sub{}) for @something; wont work.
- New annotation: #@inject, allows you to inject other languages in strings. Annotation may be before the string, before the statement containing the string or in the end of line string ends. (NB: eol annotation may be misleading and should be considered experimental, see #1072. Need a feedback.)
- Class methods now properly re-factored in subclasses and optionally in super-class
- You may now create package files with full-qualified names from New Perl File action
- TryCatch basic support. Currently catch{}, catch($var){} and catch(Foo::Bar $var){} are supported
- Redundant explicit namespace inspection, e.g. Foo::Bar::somesub() call from inside Foo::Bar package
- Lexical vairables are now on top of the auto-completion pop-up
- Significally improved parser recovery on incomplete and incorrect statements
- New action: Deparse file using B::Deparse
- Perl::Critic annotator is now on. All configurations must be done via .perlcriticrc file in project root or home dir (see Perl::Critic documentation). There is no any UI to configure Perl::Critic settings for now. Only enable/disable checkbox in Perl5 settings
- Perl::Tidy formatting is now available. All configuration must be done via .perltidyrc file in project root (see Perl::Tidy documentation). Again, there is no UI to configure settings for now
List of bugfixes may be found in release notes, but this release has a lot of internal optimizations and works much faster.
Links
Bugreports and feature requests are always welcome!
Debugger is coming...