Skip to content

Do not auto-case VB tuple names #45508

@hartmair

Description

@hartmair

Version Used:
16.6.2

Steps to Reproduce:

  1. Type the following code in VB.NET
  2. Note the different casing between variables (camelCase) and property names (PascalCase), see Deconstructed variables code fix should always camelCase variables #23716
Sub NamedTupleCasing(value1 As Integer)
  Dim a = (Value1:=1, Value2:=2)
End Sub

Expected Behavior:

Nothing happens

Actual Behavior:

The first tuple name is auto-formatted in lower case (the same as the function parameter)

Sub NamedTupleCasing(value1 As Integer)
  Dim a = (value1:=1, Value2:=2)
End Sub

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-IDEBugIDE-FormatterCode formatter and/or smart indentLanguage-VBhelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on it

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions