dotnet/roslyn

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

開放

#32,790 建立於 2019年1月25日

 (0 則留言) (0 個反應) (0 位負責人)C# (4,257 個分叉)batch import
Area-IDELanguage-VBhelp wanted

倉庫指標

星標
 (20,414 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南