Kri*_*ato 1 c++ indentation visual-studio-2010
为什么我会在if块之后立即获得此行为?我错过了什么吗?
for (;;)
if (/*...*/)
{
// statements
}
// statements indented to match the if indentation instead of the for loop;
Run Code Online (Sandbox Code Playgroud)
Visual Studio 2010似乎充斥着编辑器错误.压痕特别明显.
每次输入':'时,只要等到它开始将光标移动到行的开头即可.
如果你关闭文件并重新打开它,有时会解决问题...无论如何.