Web lists-archives.com

Re: Proposal, Adopt .editorconfig in every project






On Fri, Sep 21, 2018 at 12:58 PM Kai Uwe Broulik <kde@xxxxxxxxxxxxxxxxx> wrote:
Hi,

I would suggest to have Kalgebra follow KDE Frameworks coding style then
which uses four spaces and no tabs, or add an editorconfig there.

I have hardly encountered any KDE code that uses tabs, so this isn't a
widespread issue imho. Placement of braces and asterisks might be
inconsistent depending on age and mantainer, but spaces seem to be
pretty consistent.

This is also to help people that have other projects unrelated to KDE in their project to not need to care about the style, fire the editor, edit, commit.
no need to look for coding style, automatically taken care of.


Cheers
Kai Uwe