Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Comment token inserted, should xml variant. #56336

Open
AdamSpeight2008 opened this issue Sep 11, 2021 · 0 comments
Open

Wrong Comment token inserted, should xml variant. #56336

AdamSpeight2008 opened this issue Sep 11, 2021 · 0 comments
Labels
Area-IDE Bug help wanted The issue is "up for grabs" - add a comment if you are interested in working on it Language-VB
Milestone

Comments

@AdamSpeight2008
Copy link
Contributor

Version Used:

Microsoft Visual Studio Professional 2022 Preview
Version 17.0.0 Preview 3.1
VisualStudio.17.Preview/17.0.0-pre.3.1+31612.314
Microsoft .NET Framework
Version 4.8.04084

Installed Version: Professional

ASP.NET and Web Tools 2019   17.0.414.6609
ASP.NET and Web Tools 2019

Azure App Service Tools v3.0.0   17.0.414.6609
Azure App Service Tools v3.0.0

C# Tools   4.0.0-3.21403.23+d51d1a7338e32d3a3cd1e5452665964ee8ec15df
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

NuGet Package Manager   6.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

Syntax Visualizer   1.0
An extension for visualizing Roslyn SyntaxTrees.

TypeScript Tools   17.0.0730.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   4.0.0-3.21403.23+d51d1a7338e32d3a3cd1e5452665964ee8ec15df
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools   17.0.0-beta.21370.1+9b96c1bde17e9af532ae34eacbfc12d1628183d7
Microsoft Visual F# Tools

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio IntelliCode   2.2
AI-assisted development for Visual Studio.

Steps to Reproduce:

Imports System

Module Program
  Sub Main(args As String())
    Dim data =<xs>
                <x/>
                <x/>
              </xs>
  End Sub
End Module

Cursor on of the <x/>
Click Comment out selected line (Crtl+K, Ctrl+C)

Expected Behavior:

Imports System

Module Program
  Sub Main(args As String())
    Dim data =<xs>
                <!-- <x/> -->
                <x/>
              </xs>
  End Sub
End Module

Actual Behavior:

Imports System

Module Program
  Sub Main(args As String())
    Dim data =<xs>
                '<x/>
                <x/>
              </xs>
  End Sub
End Module
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Sep 11, 2021
@jinujoseph jinujoseph added Bug help wanted The issue is "up for grabs" - add a comment if you are interested in working on it Language-VB and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Sep 15, 2021
@jinujoseph jinujoseph added this to the Backlog milestone Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Bug help wanted The issue is "up for grabs" - add a comment if you are interested in working on it Language-VB
Projects
None yet
Development

No branches or pull requests

2 participants