[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 15:38:28 CEST 2023


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

--- Comment #30 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(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.

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


More information about the Koha-bugs mailing list