shujaatak · GitHub

[Screenshots Attached Below]
I want to apply distinct color to all types of constructors i.e. named or unnamed so that I can quickly spot them wherever they are declared or used. Currently as named constructor has constructor modifier so I have used the following coloring customization:

"method.constructor:dart": {
    "bold": true,
    "foreground": "#2e32ff",
  },

Similar to named constructor, if there was constructor modifier for unnamed constructor then I could have used the following:

"class.constructor:dart": {
    "bold": true,
    "foreground": "#2e32ff",
  },

First look at the Named Constructor that how nicely it has constructor modifier:

image

Now look at the Unnamed Constructor that it doesn't have constructor modifier:

image

Read the original on github.com ↗