atom / language-csharp

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

Lack of Syntax Highlighting #12

Closed ASBaumgarten closed 7 years ago

ASBaumgarten commented 10 years ago

Public static classes such as "Console.Writeline" are not highlighted at all, unlike the highlighting in my Xamarin IDE.

no syntax highlight syntax highlight

shiftkey commented 10 years ago

Yeah, this is something that I'd like to get to but I can't give you an estimate of when that will happen. We've had some patches for newer syntax features in C# but the existing stuff needs a bit of love too...

noresjo commented 9 years ago

It would be very nice if this was fixed. Makes the code much more readable to me at least.

Nokel81 commented 8 years ago

Also would having =/==/+= etc being highlighted would be nice

damieng commented 7 years ago

We'll never be able to syntax highlight things like Console correctly as we can't tell if it's a namespace or a class because we don't have a full compilation/parsing engine behind us like VS and Xamarin.

There have however been many additions to our highlighting in master which include a lot of areas where we can detect things including casts/new/as, variable names.

Going to close this issue in favor of very specific snippets of code we can or can't enhance upon.