The className
tag applies to class names as definitions. One in a new
expression (e.g., new Foo()
) seem to at most be identifiable as a name
. Is there a more specific way to identify class names in that context?
That’s actually a reasonable thing to do. This patch adds a rule for NewExpression/VariableName
to the default highlighting.