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..
There's any Code ReIndent on CodeLite?
-
- CodeLite Curious
- Posts: 8
- Joined: Thu Mar 03, 2016 10:17 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
- 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?
You may look at pluggin Source code formatter (using AStyle)
or use external tool with your favorite formatter (clang-format, ...)
or use external tool with your favorite formatter (clang-format, ...)
- 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?
CodeLite primary indenter is clang-format and _not_ astyleJarod42 wrote:or use external tool with your favorite formatter (clang-format, ...)
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