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)
{
}
ВБ.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