Paul, I just use emacs formatting. It has formatters for most languages and I have used it on all three that you mention, Clang, Golang, and Python, as well as shell scripts. Maybe there are better formatters out there, but emacs formatters work fine for me. Of course, if you use vi (or some other editor) you are out of luck!
Dave Raymond Dave Raymond David J. Raymond david.raym...@nmt.edu http://kestrel.nmt.edu/~raymond On Wed, Jul 23, 2025 at 2:07 PM Paul Wisehart <p...@oldcode.org> wrote: > Hi!, > > I have been learning to program in C on OpenBSD > and it is super great. I love that you can > just use builtin stuff to write code, like > the man pages are great. > > My issue is that I have grown to like code > formatters after using them in golang and then > python. I use the builtin 'indent' which is > great, BUT it chokes on more cryptic stuff like > nested parens, and array literals. > > Do other OpenBSD C programmers use code formatters? > What do they use? > Should I just be more comfortable formatting my code > as I type? > > Thanks!, > -- > Paul Wisehart > >