Indentation for nested for loops
Sometimes I like to format nested for loops like this:
for (int i = 0; i < 10; i++) for (int j = 0; j < 10; j++)
{
// do something
// ...
}
However, it seems the closest I can get in CLion is this:
for (int i = 0; i < 10; i++) for (int j = 0; j < 10; j++)
{
// do something
// ...
}
How can I fix this? Thanks!
请先登录再写评论。
Spencer, it hasn't been implemented yet. Please file a feature request in our tracker: https://youtrack.jetbrains.com/issues/CPP.
Ok, thanks.