mono / libgdiplus

C-based implementation of the GDI+ API
http://www.mono-project.com/
MIT License
334 stars 171 forks source link

[RFC] Use clang-format code style #602

Closed akoeplinger closed 9 months ago

akoeplinger commented 4 years ago

What do you guys think about having a common code style using clang-format?

This is a first draft, if you spot some problematic pattern we can check whether we can tweak the settings.

@filipnavara @qmfrederik @hughbe

filipnavara commented 4 years ago

In general I am fine with whatever style you prefer as long as VS Code can enforce it for me. It seems that there is an extension for that (https://marketplace.visualstudio.com/items?itemName=xaver.clang-format) but I didn't try it yet.

qmfrederik commented 4 years ago

Same here. I'm all about enforcing a common style, less opinionated about which style that should be :)

hughbe commented 4 years ago

Happy with this