Hi all,
Did anyone run into problems with auto and smart indentation feature for C++? The following piece of code throws the indentation off in my case
(the function is nested in a class so everything should align relative to the column of the opening brace):
friend ostream &operator<<(ostream &out, const Vertex &v)
{
out << "Vertex(" << v._id << ") (";
Point<2> p = v.point();
out << p.x() << ", " << p.y() << ")";
return out;
}
Edit -> Line -> Reindent doesn’t work. It seem’s like the indentation rules do have a problem with parentheses inside of double quotes. Is there a way to fix this? Thanks