C#
太长
public void AcceptableFunctionName(string variable, int anotherVariable, object variableThree)
{
}
可接受
public void AcceptableFunctionName(
string variable, int anotherVariable, object variableThree)
{
}
选择
public void AcceptableFunctionName(
string variable,
int anotherVariable,
object variableThree)
{
}
VB.NET
太长
Public Sub AcceptableFunctionName(variable As String, anotherVariable As Integer, variableThree As Object)
End Sub
什么?
Public Sub AcceptableFunctionName(
variable As String, anotherVariable As Integer, variableThree As Object)
End Sub
什么?
Public Sub AcceptableFunctionName(
variable As String,
anotherVariable As Integer,
variableThree As Object)
End Sub
问题
如何使 Visual Studio 自动更好地格式化我的 VB.NET 方法?
可接受
Public Sub AcceptableFunctionName(
variable As String, anotherVariable As Integer, variableThree As Object)
End Sub
我试过了
工具 -> 选项 -> 文本编辑器 -> 基本 -> 选项卡 -> 缩进:无、块、智能
没有任何
Public Sub AcceptableFunctionName(
variable As String, anotherVariable As Integer, variableThree As Object)
End Sub
堵塞
Public Sub AcceptableFunctionName(
variable As String, anotherVariable As Integer, variableThree As Object)
End Sub