Re: Adding a clang-format file

2023-11-22 Thread Ray Eldath
Hi, Just wondering would you mind sharing your .clang-format file? I find the attachment you pointed to is only a demo with a “…” line and it doesn’t format PG code very well. btw I’m also greatly in favor of this idea. clang-format is tightly integrated into CLion and it’s very convenient. right

Re: Adding a clang-format file

2022-09-27 Thread Peter Geoghegan
On Tue, Sep 27, 2022 at 5:35 AM Aleksander Alekseev wrote: > Personally I don't have anything against the idea. TimescaleDB uses > clang-format to mimic pgindent and it works quite well. One problem > worth mentioning though is that the clang-format file is dependent on > the particular version of

Re: Adding a clang-format file

2022-09-27 Thread Aleksander Alekseev
Hi Peter, > I really don't see any real problem with making something available, > without changing any official project guidelines. It's commonplace to > provide a clang-format file these days. Personally I don't have anything against the idea. TimescaleDB uses clang-format to mimic pgindent and