Skip to content

syntax highlight is dead after '@' keyword. #1288

Closed

Description

@sassembla

Environment data

dotnet --info output:
.NET Command Line Tools (1.0.0-preview2-003148)

Product Information:
Version: 1.0.0-preview2-003148
Commit SHA-1 hash: 18ca244551

Runtime Environment:
OS Name: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.11-x64

VS Code version:version 1.10.1 (1.10.1)
C# Extension version:1.7.0

Steps to reproduce

use '@' character as field name like below.

public class SampleClass {
    public int MyInt;

    public int @class;// syntax highlight is disabled from @class.

    public double MyDouble;

    public void SomeMethod () {        
        var str = "";// syntax highlight is back!
    }
}

2017-03-05 18 17 30

Expected behavior

syntax highlight is alive.

Actual behavior

syntax highlight is dead after '@' keyword.

Activity

  1. DustinCampbell commented on Mar 6, 2017

    @DustinCampbell
    Member

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

  2. DustinCampbell commented on Mar 6, 2017

    @DustinCampbell
    Member

    Moving this over to the csharp-tmLanguage repo where the syntax highlighting grammar lives.

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