Git Product home page Git Product logo

perltidy-mode's Introduction

perltidy-mode is a minor mode for emacs. It hooks cperl-mode so that
perltidy is called whenever you save your source code.

Quick setup instructions
------------------------

  Run the perltidy-mode.PL program with like so to generate the
  perltidy-mode.el.

    perl perltidy-mode.PL

  Copy the perltidy-mode.el file to your ~/.site-lisp directory. Use a
  different directory if you like, just make sure that path is in
  load-path.

  Add this to your ~/.emacs file and fill in the appropriate filenames:

    (add-to-list 'load-path "~/.site-lisp/")  ; your target directory
    (autoload 'perltidy "perltidy-mode" nil t)
    (autoload 'perltidy-mode "perltidy-mode" nil t)

  Add the following snippet to enable full-auto mode where perltidy-mode
  will be automatically on when cperl-mode is on.

    ; Makes perltidy-mode automatic for cperl-mode
    (eval-after-load "cperl-mode"
      '(add-hook 'cperl-mode-hook 'perltidy-mode))

Support and Documentation
-------------------------

After installing, you can find documentation for this minor mode by
reading the source code.

You can also look for information at:

    Search CPAN
        http://search.cpan.org/dist/perltidy-mode

    CPAN Request Tracker:
        http://rt.cpan.org/NoAuth/Bugs.html?Dist=perltidy-mode

    AnnoCPAN, annotated CPAN documentation:
        http://annocpan.org/dist/perltidy-mode

    CPAN Ratings:
        http://cpanratings.perl.org/d/perltidy-mode

Copyright and Licence
---------------------

Copyright (C) 2006 Joshua ben Jore
  
This program is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

perltidy-mode's People

Contributors

mgruberman avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.