Method names that start with a macro interpolation will show gray syntax highlighting
jwoertink opened this issue ยท 1 comments
jwoertink commented
If you prepend a variable or method name with _
, the syntax highlighting will gray it out as if to tell you that this thing isn't being used. This is a great feature ๐ However, if you are generating methods using some macro magic, they will also show up grayed out...
You can see here that _count
and _query
are gray since they start with a macro variable.
But methods that have the macro on the other side don't since they don't start with the underscore _
.
Not a huge deal, but it could probably check if it starts with }}_
then don't do this gray highlight?
nobodywasishere commented
Good catch! Thank you!