These are decent default colors, although I’m super hyped to be able to create custom themes.
In the first image, does the table key access color change from the dark blue (line 30) to bright yellow (line 21) as soon as you follow it up with parenthesis?
Why does self have a different color from everything else? The coloring seems fine, but having self be a different color is a bit jarring and out of place.
This is amazing, but I feel like the comments in the light theme stand out way too much (now and in this design). Similarly, they are almost hidden in dark mode. I think the light mode comments should be a grayscale color, too.
The ability to have custom keyword colors would be nice. For example: being able to name specific keywords like script (even though it is a reserve) or anything else that might be a frequent appearance in dev environments may be nice.
This is a change that I find to be very useful. I was tired of the majority of my code being white since many keywords didn’t have highlighting.
Quick question, how many different color themes are planned to be added? I’m okay with making my own, but I find it easier to pick from a preset list at times.
I think having self as a different color is important. It’s important when you are using it for things like OOP where you may be referencing values that could be pretty hidden (if its a big ‘class’, for example) and by having it as its own color it will stand out. It sorta feels like its own thing when dealing with metatables, modules, etc. and so having it as almost its own “class” of formatting is pretty reasonable, especially for coloring.
We were thinking of having 3 pre-set themes; Roblox default, VSCode theme, and a Sublime theme. We’re also hoping that developers can make their own color themes and share a screenshot of their settings so others can use it
I feel like self is a bit weird as its own keyword, especially since typed luau almost completely discourages the use of self (the implicit generic typing of it is often disastrous).
One of the things I like the most about VScode’s handling of TypeScript is that it gives every identifier in the type expression context a blue highlight. Hopefully there can be some consistency here as well?