Open Husseink-hagag opened 1 month ago
I don't see a lot of "patterns" to go off of here (to find a specific constructor, etc), but it'd probably be easy to improve "attribute" (or attr
, I always forget) like child:
and if CamelCaseClasses is syntax or idiomatic Dart then we could probably just have a general rule for those - regardless of where they are in the grammar.
Are you interesting in working on a PR for this?
Describe the issue
The current output lacks color for class names and constructor calls so most lines are displayed in the same color, which significantly impacts readability and makes it challenging to distinguish between different code components. In contrast
Which language seems to have the issue?
Dart (the issue is impacting Flutter)
Are you using
highlight
orhighlightAuto
?highlight
...
Sample Code to Reproduce
Expected behavior Highlight colors for Class and Constructor Calls
Additional context
Here are two images: (1) - displaying the current output from the Highlight library , where all elements appear in the same color, making it difficult to read. (2) - a different library, which shows custom colors for classes and constructors. Both images feature code written in Dart for Flutter.