Skip to content

Incorrect C# comment syntax-highlighting #1134

@aeschli

Description

@aeschli

From @BBosman on January 17, 2017 6:56

  • VSCode Version: 1.8.1
  • OS Version: macOS Sierra 10.12.2

Steps to Reproduce:

  1. Create the following C# code:
namespace MyTest
{
    public interface ITest
    {
        // Random comment 1
        int Test1 { get; set; }

        int Test2 { get; set; } // Random comment 2


        int Test3 { get; set; }
        // Random comment 3
    }
}
  1. See the screenshot below. I would expect // Random comment 2 to be coloured green, similar to comments 1 and 3.

comments

Copied from original issue: microsoft/vscode#18633

Metadata

Metadata

Labels

BugfixedFixed and available in the stable version of C# Extension.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions