[Koha-bugs] [Bug 30002] Add project-level perltidyrc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 8 21:13:45 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30002

--- Comment #31 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #30)
> (In reply to Jonathan Druart from comment #24)
> > Suggestion addition for the wiki at
> > https://wiki.koha-community.org/wiki/Coding_Guidelines#PERL1:_Perltidy
> > 
> > """
> > The code must be tidy using perltidy and the .perltidyrc file presents at
> > the root of the Koha directory.
> > You must run perltidy on any new perl files added.
> > When you add changes to existing files you should consider setting your code
> > editor accordingly.
> > For vim you can add the following line to you `.vimrc`: `vmap <F8>
> > :!perltidy -q<CR>`
> > Then switch to visual move (ctrl+v), select a block and press F8.
> > """
> 
> Added to the wiki.

I added the VSCode counterpart.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list