Properites & Arguments marked as `support.function`
evoactivity opened this issue · 6 comments
Hi @evoactivity, thank you for report, but it's only about "how it's looks like", I skipping semantic here prior to colors.
In textmate scope is matched to colors, and it's really hard to get proper color and relative scope :)
Here is "customization" section https://github.com/lifeart/vsc-ember-syntax#customizing-the-theme, function
color could be changed to anything.
I think the problem is these are not actually functions, so shouldn't be highlighed as functions at all. You can see with the extension disabled they are properly marked as variables/parameters.
This is where that is happening in the syntax
I don't see problem here, I mean, if color is confusing - it could be manually changed.
You may try to specify 'different' scopes, but it likely gonna look so sad (in terms of colouring)
I agree to be honest, visually I think it's fine as it is. I was told though people are still using the unmaintained vscode-glimmer
because they don't like the property access being the same colour as a js/ts function when they are not functions. I would like to remove roadblocks to people using this extension, even if it seems trivial.
You're probably right and I might not be able to find a satisfying approach to colour them differently, but I'd still like to play around with it and see if I can't do something that satisfies everyone.
@evoactivity you may propose coloring ovverides (as in readme) and we could offer it as themes
.
Cool. I won't have time to visit this immediately but it's in my backlog :)