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有自己的格式約定,使用*這些*,而不是一些外語。 –