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?
Go to menu Plugins → Source Code Formatter → Format Current Source or just press Ctrl + I.
If you want to set up your formatting preferences, choose menu Plugins → Source Code Formatter → Options...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With