There's any Code ReIndent on CodeLite?

General questions regarding the usage of CodeLite
fellipeh
CodeLite Curious
Posts: 8
Joined: Thu Mar 03, 2016 10:17 pm
Genuine User: Yes
IDE Question: c++
Contact:

There's any Code ReIndent on CodeLite?

Post 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..
User avatar
Jarod42
CodeLite Expert
Posts: 240
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: There's any Code ReIndent on CodeLite?

Post by Jarod42 »

You may look at pluggin Source code formatter (using AStyle)

or use external tool with your favorite formatter (clang-format, ...)
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: There's any Code ReIndent on CodeLite?

Post 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
Make sure you have read the HOW TO POST thread
Post Reply