Devel-PerlySense

 view release on metacpan or  search on metacpan

lib/Devel/PerlySense.pm  view on Meta::CPAN

C<C-o s n> -- Go to the next Source error/warning.

Display the error in the minibuffer. If the warning is from a
Perl::Critic module, copy the module name into the kill-ring, so you
easily can yank it into the .perlcritic config file to disable
it. (not implemented)

C<C-o s p> -- Go to the previous Source error/warning.

C<C-o s s> -- Display the error/warning text of the current line in a
popup. Or display the error in the minibuffer if the display isn't
graphical, or if the ps/flymake-prefer-errors-in-minibuffer variable
is customized to a true value.



=head3 Code Coverage Visualization Introduction


=for html <p>[ <a href="http://search.cpan.org/src/JOHANL/Devel-PerlySense-0.0217/doc/code_coverage.html">Screenshot</a> ]<p>

lib/Devel/PerlySense/external/emacs/perly-sense-flymake.el  view on Meta::CPAN

(add-hook 'cperl-mode-hook 'flymake-mode t)




(defun ps/flymake-display-err-for-current-line ()
  "Display a menu/message (depending on display capabilities and
customization) with errors/warnings for current line if it has
errors and/or warnings."
  (interactive)
  (if (and (display-popup-menus-p) (not ps/flymake-prefer-errors-in-minibuffer))
      (flymake-display-err-menu-for-current-line)
    (ps/flymake-display-err-message-for-current-line)
    )
  )



(defun ps/flymake-display-err-message-for-current-line ()
  "Display a message with errors/warnings for current line if it
has errors and/or warnings."

lib/Devel/PerlySense/external/emacs/perly-sense.el  view on Meta::CPAN

(defcustom ps/use-prepare-shell-command nil
  "Whether to use prepare-shell-command (experimental, but please
  try it) to speed things up."
  :type 'boolean
  :group 'perly-sense)



(defcustom ps/flymake-prefer-errors-in-minibuffer nil
  "Whether to display compilation error messages in the
minibuffer instead of as a popup (if your display can't display
popups, they'll always be displayed in the minibuffer).

See the POD docs for how to enable flymake."
  :type 'boolean
  :group 'perly-sense)



(defgroup perly-sense-faces nil
  "Colors."
  :link '(custom-group-link :tag "Font Lock Faces group" font-lock-faces)



( run in 0.922 second using v1.01-cache-2.11-cpan-364913b4093 )