atom / language-csharp

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

Problems with colouring of types in items like Box<T> #57

Closed Nokel81 closed 7 years ago

Nokel81 commented 8 years ago

If the function returns a generic then the css type is "span.meta.method.return-type.cs" (even for the type in the angle brackets). I believe that the item in the angle brackets (or the angle brackets should be a different type to help with reading.

For the parameter with footprint "SearchRequest searchRequest" the "SearchRequest" is of type "span.variable.parameter.function.cs" but the items in the angle brackets are the same colour as the parameter name and share all the same css.

damieng commented 7 years ago

Generic types have been massively improved now and should ship in the next beta. Here's a screenshot showing a VS-like theme in action;

image