C#
太长如何格式化我的VB.NET方法,使其看起来更像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
不要。 VB有自己的格式约定,使用*这些*,而不是一些外语。 –