You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scott-Tenera
changed the title
Dart syntax colors member variables with the color of functions.
Dart syntax colors member variables with incorrect textmate scope.
Jan 29, 2022
This seems to be a bad interaction between an original change for #3012 and the fix for #3618. The format was making property declarations coloured like methods to match the textmate grammar. However the latter had class fields marked as Properties to distinguish them from local variables.
I've removed the first, which means getter/setters will no longer be coloured like methods either (which is different to the textmate grammar, so they will change colour as semantic tokens become available), but considering the requirements I think it makes the most sense.
Observe the following screenshot.
Member variables are given semantic coloring of function declaration.
This is reproducible with the following theme...
https://github.com/safield/ubuntu-monokai
The text was updated successfully, but these errors were encountered: