smart indentation
Posted: Wed Jan 13, 2010 5:24 pm
I just started using Codelite and I think it's pretty great except for small pesky annoyances.
I am running revision 3584 on openSuSE 11.1
When smart indentation is enabled an extra indentation is added after I write a line that ends with a semi-colon and press enter.
void Class::ble( std::string fleh )
{
std::string str; <-- enter
[here is the caret]
}
I haven't been able to rectify this by fiddling around with the settings.
this is what I end up with
std::string bler;
bler = "adfasdf";
flflf->sdfdfyfy( asdfsdf );
if ( f3r3f3 )
{
bler = "dfefe";
}
else
{
bler = "fefef";
}
Does the source formatter have any say in this?
Best regards,
Ólafur Bergsson
I am running revision 3584 on openSuSE 11.1
When smart indentation is enabled an extra indentation is added after I write a line that ends with a semi-colon and press enter.
void Class::ble( std::string fleh )
{
std::string str; <-- enter
[here is the caret]
}
I haven't been able to rectify this by fiddling around with the settings.
this is what I end up with
std::string bler;
bler = "adfasdf";
flflf->sdfdfyfy( asdfsdf );
if ( f3r3f3 )
{
bler = "dfefe";
}
else
{
bler = "fefef";
}
Does the source formatter have any say in this?
Best regards,
Ólafur Bergsson