Re: [Mingw-w64-public] Proposal to add a code formatting rule

2020-04-08 Thread NightStrike
On Sat, Apr 4, 2020 at 1:04 AM Biswapriyo Nath wrote: > > The coding style is different in many files in mingw-w64 headers and crt. > Is it possible to add a rule to enforce a consistent coding style across > all the source file? For example, using clang-fromat, editorconfig etc. > lightweight too

Re: [Mingw-w64-public] Proposal to add a code formatting rule

2020-04-05 Thread Biswapriyo Nath
As example, if someone has edtiorconfig feature/plugin in his/her text editor then the new patches will be formatted new rules, no need to change all files. As far as I know, most of the header files follow these rules: indent_style=space indent_size=2 trim_trailing_whitespace=true insert_final_ne

Re: [Mingw-w64-public] Proposal to add a code formatting rule

2020-04-05 Thread Liu Hao
在 2020/4/4 13:01, Biswapriyo Nath 写道: > The coding style is different in many files in mingw-w64 headers and crt. > Is it possible to add a rule to enforce a consistent coding style across > all the source file? For example, using clang-fromat, editorconfig etc. > lightweight tools? > > From my h

[Mingw-w64-public] Proposal to add a code formatting rule

2020-04-03 Thread Biswapriyo Nath
The coding style is different in many files in mingw-w64 headers and crt. Is it possible to add a rule to enforce a consistent coding style across all the source file? For example, using clang-fromat, editorconfig etc. lightweight tools? ___ Mingw-w64-pu