Page 1 of 1

There's any Code ReIndent on CodeLite?

Posted: Fri Mar 04, 2016 3:51 pm
by fellipeh
I try to find out any menu to Reindent all my code, but I don't found it ... There's any plugin or menu for these action?


Cheers..

Re: There's any Code ReIndent on CodeLite?

Posted: Fri Mar 04, 2016 5:23 pm
by Jarod42
You may look at pluggin Source code formatter (using AStyle)

or use external tool with your favorite formatter (clang-format, ...)

Re: There's any Code ReIndent on CodeLite?

Posted: Fri Mar 04, 2016 9:04 pm
by eranif
Jarod42 wrote:or use external tool with your favorite formatter (clang-format, ...)
CodeLite primary indenter is clang-format and _not_ astyle

You can choose which one to use (we support both astyle and clang-format) from:
Plugins->Source Code Formatter->Options

To format your source, just hit Ctrl+I

I highly recommend clang-format
Eran