Re: [Csnd-dev] formatting
Hlöðver Sigurðsson <[email protected]>
| Newsgroups | gmane.comp.audio.csound.devel |
|---|---|
| Message-ID | <CAB8vR8JEp4S7ziOMPC-Z3ew4W2=PrWzLjQn+5bX_izy-=7Af2w@mail.gmail.com> |
yes I think it's one I opened? it's a little mentality shift needed to start formatting and linting c code. I made an email thread about this and there were lots of positive responses about doing this, if what I suggested there is good, I'm not sure, if clang-format is the most popular and well maintained formatter in the c ecosystem today. Open to any solution but overall happy if the code formatting and consistency was a topic and concern in code reviews. We can start with few rules and make it more specific with tme. On Sun, 29 Sept 2024 at 17:09, Victor Lazzarini < [email protected]> wrote: > I was wondering what we should do about formatting code. > > We have this branch feature/format with additions to cmake for "make > format" target using clang-format. > > Not sure if a PR from it is a good idea or not as the formatting has been > applied to all files. It will probably mean a commit where all files are > modified. Or we can do a different PR with just the cmake modifications. > > Prof. Victor Lazzarini > Maynooth University > Ireland