atom / language-csharp

C# language support for Atom
Other
62 stars 53 forks source link

C# Storage type highlighting not working for my classes #48

Closed aeschli closed 7 years ago

aeschli commented 8 years ago

From @cdes on December 29, 2015 8:12

I'm using the VSCode Version 0.10.6 (0.10.6). Default dark theme.

Here's a sample code:

class MyClass
{

}

class Program
{
    static void Main()
    {        
        //string is highlighted
        string s = "MyClass";

        //MyClass is not highlighted
        MyClass myClass = new MyClass();
    }
}

Here's an image: screen shot 2015-12-29 at 11 13 02 am

Here's a video demonstration: https://www.youtube.com/watch?v=VpRPJc42FZQ

Copied from original issue: Microsoft/vscode#1686

aeschli commented 8 years ago

It's an issue with the csharp tokenizer, same issue in atom (languages-csharp 0.11.0) image

sjk07 commented 8 years ago

Any progress on this?

50Wliu commented 8 years ago

@sjk07 No, not yet. I haven't been able to take a look at fixing the C# issues, so any help would be appreciated.

damieng commented 7 years ago

We've done a bunch of work on master which should ship in the next atom beta that includes various improvements. Your specific code block now looks like this;

image