Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CodeLite formatting

Tags:

c++

codelite

I use the CodeLite IDE for C++ development, but I have not found any way to select -> format the text properly.

This:

if(1 == 1){
return 1;
}

should be formatted as:

if(1 == 1){
   return 1;
}

Is there a way to select a block of code and then format it using the CodeLite IDE?

like image 808
T Jacobs Avatar asked Oct 03 '12 15:10

T Jacobs


1 Answers

Go to menu PluginsSource Code FormatterFormat Current Source or just press Ctrl + I.

If you want to set up your formatting preferences, choose menu PluginsSource Code FormatterOptions...

like image 93
Zdeslav Vojkovic Avatar answered Sep 30 '22 10:09

Zdeslav Vojkovic