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
Please make sure you're using the latest version of the plugin before submitting an issue
Version: 2.0.0
Object properties that are defined using the shorthand (line 26 in the screenshot), should also have the purple color that is given for properties defined as usual.
Screenshots
Not sure if this is intended or a bug but I think making all the keys of same color would be better.
P.S. Thanks for the awesome theme! =)
The text was updated successfully, but these errors were encountered:
abhijit-hota
changed the title
Coloring for Object property:value shorthand
Coloring for Object properties defined by shorthand
Oct 15, 2020
IMO, having this distinction in syntax highlighting emphasises shorthand, since colour of the shorthand matches the colour of the identifier that is used, it improves legibility.
colour of the shorthand matches the colour of the identifier that is used
But aren't all identifiers colored white after initialization? I might be wrong here.
Although, they're fair points and looking at it, a distinction between the shorthand is good when it resembles the type of variable (but that doesn't seem to the case?).
Please make sure you're using the latest version of the plugin before submitting an issue
Version: 2.0.0
Object properties that are defined using the shorthand (line 26 in the screenshot), should also have the purple color that is given for properties defined as usual.
Screenshots
Not sure if this is intended or a bug but I think making all the keys of same color would be better.
P.S. Thanks for the awesome theme! =)
The text was updated successfully, but these errors were encountered: