atom / language-csharp

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

Parameters highlighting in constructors (Github) #106

Closed worldbeater closed 6 years ago

worldbeater commented 6 years ago

In some cases constructor paramaters don't seem to be correctly highlighted on Github. Expected behavior is to paint variable type and variable name in different colors, but for now their colors are the same:

class WithDependencies 
{
  public WithDependencies(
    INavigationService navigationService,
    ICategoryManager categoryManager,
    ISettingManager settingManager)
  {
    // Not OK
  }
  public WithDependencies(INavigationService navigationService) 
  {
    // Not OK 
  }
  public void Sample(string a, string b) { } // OK, but something's wrong with the comment
}