eranif / codelite

A multi purpose IDE specialized in C/C++/Rust/Python/PHP and Node.js. Written in C++
https://codelite.org
GNU General Public License v2.0
2.08k stars 444 forks source link

Source Code Formatter option #3328

Closed Samuelbeausejour closed 3 months ago

Samuelbeausejour commented 3 months ago

Describe your idea in details

Do they have an option in codelite 17.0 that give you the option do modify Source Code Formatter? In the previous version, it was possible to change auto formatting configuration like brackets positionning, space between patenthesis...

codelite

eranif commented 3 months ago

This was removed couple of years ago. CodeLite now supports multiple formatters, each has its own configuration. For C/C++, the default is clang-format, to configure it, you should add a .clang-format file.

You can learn about it here: https://clang.llvm.org/docs/ClangFormatStyleOptions.html

Samuelbeausejour commented 3 months ago

Ok thank you