Re: [kicad] Code formatting question

2024-02-13 Thread achary
Got it. Thanks for quick response. On Tuesday 13 February 2024 at 14:04:03 UTC j...@craftyjon.com wrote: > Yes, this is a norm. KiCad's code style is not 100% representable in > clang-format, and we also have a policy of not doing bulk-reformatting of > files. > > Make sure to configure your e

Re: [kicad] Code formatting question

2024-02-13 Thread Jon Evans
Yes, this is a norm. KiCad's code style is not 100% representable in clang-format, and we also have a policy of not doing bulk-reformatting of files. Make sure to configure your editor to not reformat lines that you didn't edit, and you should be OK. Personally I turn off auto-reformatting, and o

[kicad] Code formatting question

2024-02-13 Thread achary
Hi, Few days ago I've cloned KiCcad source code and wanted to experiment with small improvements to the PDF plotting in pcbnew. After setting the development environment (Ubuntu 22.04, clang-format-14) I've discovered even a simple re-formating of an unmodified `pcbnew/dialogs/dialog_plot.cpp`