Skip to content

Incorrect syntax highlighting #1721

Closed
Closed

Description

@CoenraadS

Environment data

dotnet --info output:

.NET Command Line Tools (1.1.0)

Product Information:
 Version:            1.1.0
 Commit SHA-1 hash:  d6f4336106

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

VS Code version: 1.15.1
C# Extension version: 1.12.1

Steps to reproduce

Have a unity .cs file with the following contents:

 void Start()
    {
        Vector2 point1 = new Vector2(1, 1);
	int z = 1;
        var newPoint = new Vector2(point1.x * z, 0);
    }

2017-08-17 12_02_28-clipboard

Expected behavior

point1.x should be a light blue color

Actual behavior

point1.x has the same color as 'Vector2'

Activity

  1. DustinCampbell commented on Aug 17, 2017

    @DustinCampbell
    Member

    This issue was moved to dotnet/csharp-tmLanguage#82

  2. DustinCampbell commented on Aug 17, 2017

    @DustinCampbell
    Member

    Thanks for filing this issue. I've moved it over to the repo for the C# TextMate grammar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions