Skip to content

Syntax color is wrong for last argument of class constructor. #1880

@phucnt1992

Description

@phucnt1992

Environment data

dotnet --info output:
D:\Projects\MicroShoppe\MicroShoppeServices [master ≡ +6 ~10 -14 !]> dotnet --info

.NET Command Line Tools (2.0.3)

Product Information:
 Version:            2.0.3
 Commit SHA-1 hash:  12f0c7efcc

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.16299
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.0.3\

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.3
  Build    : a9190d4a75f4a982ae4b4fa8d1a24526566c69df

VS Code version:
C# Extension version: 1.13.1

Steps to reproduce

If I make the last bracket as image below, the color of last argument is wrong
image

Expected behavior

The color of last argument should be like this.
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions