Visual Studio 2010中不会自动排版行 [英] Visual Studio 2010 Won't Auto-Indent Lines
问题描述
Visual Studio 2010中,用于自动缩进我的台词,现在突然不会做,
为例,当我创建了一个方法,它看起来像:
Visual Studio 2010, used to auto indent my lines, and now suddenly it won't do that, for example, when I created a method, it looked like that:
public static void Foo (int FooInt)
{
// Some methods stuff...
}
但现在,它看起来就像是:
but now, it looks like that:
public static void Foo (int FooInt)
{
// Some method stuff...
}
我找不到任何答案,我该怎么办?
I can't find any answer for that, what can I do?
我在使用Visual Studio 2010中,Windows 7的64位
I am using Visual Studio 2010, Windows 7 64 Bit
更新:原来我的问题上驻留在C#,当我尝试它在C ++项目,压痕工作完美... $ 2 b $ b任何建议。
Update: Turns out my problem on resides on C#, when I am trying it on a C++ project, indentation work perfectly... Any suggestions?
更新
问题解决了,没想到通过重新安装Windows。
Problem was solved, unexpectedly by re-installing Windows.
推荐答案
我有同样的问题,改变从块缩进为智能后,它开始工作!< IMG SRC =http://i.stack.imgur.com/VyXRE.pngALT =在这里输入的形象描述>
I was having the same problem and after changing Indenting from Block to Smart it started working!
这篇关于Visual Studio 2010中不会自动排版行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!