Devel-PerlySense
view release on metacpan or search on metacpan
* Feature: Run File under Devel::CoverX::Covered -- C-o r c. This is
the same as Run File, but collect test coverage information using
Devel::CoverX::Covered and enable Code Coverage Visualization.
0.0211 -- 2013-11-25 19:21:46 UTC
* Feature: Edit - Copy Package Name -- "C-o e c p". Copy the current
package statement name to the clipboard (kill-ring) and display it
in the echo area.
0.0210 -- 2013-11-25 15:47:30 UTC
* In ack 2.0, the option --all is replaced with --known-types.
So in "Find with Ack" (C-o f a), while editing the search string in
the minibuffer, the current shortcut (C-o a) to toggle "--all" is
lib/Devel/PerlySense.pm view on Meta::CPAN
=head3 Go to Error line
If you run tests in a regular shell (inside Emacs or in a terminal
window), this may be handy.
C<C-o g e> -- If point is located on an error line from a syntax
error, or a stack trace from the debugger or similar, go to that
file+line.
If no file name can be found, prompt for a piece of text that contains
the file+line spec. The kill ring or clipboard text is used as default
if available (so it's easy to just copy the error line from the
terminal, run this command and hit return to accept the default text).
=head2 Debugging Code
=head3 Run File in Debugger
C<C-o r d> -- Run the file of the current buffer using the Emacs
lib/Devel/PerlySense.pm view on Meta::CPAN
=head2 Editing Code
Editing code includes both smaller editing tasks and refactorings to
restucture the code.
=head3 Edit - Copy Package Name
C<C-o e c p> -- Copy the current package statement name to the
clipboard (kill-ring) and display it in the echo area. If there is no
package statement, try to get the package name from the file name.
=head3 Edit - Copy Package Name From File Name
C<C-o e c P> -- Assuming the file is a Perl module in a lib directory,
copy the corrsponding package name to the clipboard (kill-ring) and
display it in the echo area.
Useful when you've just created an empty new Perl module .pm file.
=head3 Edit - Copy Sub Name
C<C-o e c s> -- Copy the current sub name to the clipboard (kill-ring)
and display it in the echo area.
=head3 Edit - Copy Method Name
C<C-o e c m> -- Copy the current method name to the clipboard
(kill-ring) and display it in the echo area. Method name in this case
means "package->sub".
=head3 Edit - Copy File Name
C<C-o e c f> -- Copy the current file name to the clipboard
(kill-ring) and display it in the echo area.
=head3 Edit - Add 'use Module' Statement
C<C-o e a u> -- Set mark and add a 'use My::Module;' statement to the
end of the 'use Module' section at the top of the file.
The default module is the selected text, or the module at point (point
( run in 0.997 second using v1.01-cache-2.11-cpan-84e82930d8c )