dotnet/roslyn

Visual Studio doesn't adjust XML Literal tag when changing tag name

オープン

#32,790 opened on 2019/01/25

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C# (4,257 件のフォーク)batch import
Area-IDELanguage-VBhelp wanted

Repository metrics

Stars
 (20,414 個のスター)
PR merge metrics
 (平均マージ 6d 17h) (30d で 256 merged PRs)

説明

Version Used: Visual Studio 2019 Preview 2

🔗 Originally here: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/132619

Steps to Reproduce:

  1. Add the following VB code:

    Module Module1
    
        Sub Main()
            Dim xml = <root>
                          <nam>Name</nam>
                      </root>
        End Sub
    
    End Module
    
  2. Change <nam> to <name>

Expected Behavior:

</nam> changes to </name>

Actual Behavior:

The closing tag is not adjusted.

コントリビューターガイド