Hello,
The new Code Inspection feature is fantastic. Thanks very much for adding this.
Converting to range-based for loops inserts an extra level of indentation for the first line of the loop, for example:
std::vector<int> v = { 1,2,3,4,5 };
for (auto i = 0;i < v.size();++i)
{
int val = v[i];
std::cout << val;
}
becomes:
std::vector<int> v = { 1,2,3,4,5 };
for (int val : v)
{
std::cout << val;
}
Note the extra level of indentation for the "std::cout << val;" line.
Thanks,
Paul