我已经看过,并寻找方法来禁用的意见缩进当我保存C#文件在Visual Studio 2015年安装ReSharper的9.0.0.0。禁用的意见与Visual Studio自动缩进2015
我想伪之前,我开始写实际的代码。不过,我一直在调整Visual Studio和Resharper的设置,但都无济于事。因此,例如我要评论看起来像:
private string ToggleString(string input)
{
// If input.length is between 1-100
// All the uppercase letters converted to lowercase.
// All the lowercase letters converted to uppercase
// else
// Return a constructive message.
return input;
}
当我保存CTRL + 小号它变成像这样:
private string ToggleString(string input)
{
// If input.length is between 1-100
// All the uppercase letters converted to lowercase.
// All the lowercase letters converted to uppercase
// else
// Return a constructive message.
return input;
}
如何禁用自动格式?
存在选项并在VS 2015确确实实存在,至少在C++,它解决了这一问题对我来说。感谢您的回答! – dbeachy1