Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^6: How has your coding style changed over the years?

by LanX (Saint)
on Aug 13, 2022 at 18:28 UTC ( [id://11146140]=note: print w/replies, xml ) Need Help??


in reply to Re^5: How has your coding style changed over the years?
in thread How has your coding style changed over the years?

I'm sure you know this already, but just in case

> Be able to restrict the perltidy-run to the current function,

M-x mark-defun aka C-M-h selects the current function.

> or the current region (i.e. avoid cosmetic changes in untouched places of the file which mess up VC history)

That's what M-x shell-command-on-region does, if you don't mark-whole-buffer

IOW the right combination of these three commands do the job.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11146140]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-23 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found