我已经寻找了多种方法来禁用在安装了Resharper 9.0.0.0的Visual Studio 2015中保存C#文件时对注释进行缩进。
在开始编写实际代码之前,我想使用伪代码。然而,我已经尝试了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 + s ,它会变成这样:
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;
}
我该如何禁用自动格式化?