Personally I consider self to be Lua’s this – Other languages use the same color coding for the this keyword, so I think it feels more natural that self follows this trend as well.
I’ve always been a hardcore C# developer so I’m used to the stock theme for Visual Studio, but iirc many other IDEs use this coloring scheme as well.
Now off of the topic of my response, and onto the topic of the thread: Does this system offer the ability to selectively choose what words get what color? For instance, if I want to make it so that “asdfg” highlights in bright red, is this possible?
self isn’t a keyword, so I think it should be highlighted as a local variable name. I would think it would be fine for self to be highlighted differently, at least when defined.
I would 100% say if highlighting and themes are going to be revamped we should definitely get a feature that would import and export themes in a JSON format.
This is a welcome change. Since I give my variables descriptive names, my code can get a bit cluttery / wall-of-texty .
Personally, I’ll probably give them my own colors: I use desaturated lavender for comments (“just right” for me) but i’ll probably use bright hot yellow/red for TODO and FIXME (so it’s more noticeable).
Everything else looks okay, i’ll have to give self a different color (though honestly, i’ve never used it).
I’m not sure what “type” and “export” do; i’m guessing they are related to the upcoming strict typing features?
Exciting patch (both the highlights and the types), can’t wait to have this feature.
Can you keep the Roblox default theme colors more classic? I’m not sure of the correct terminology but the current colors (esp. for the light theme) feel very nostalgic and have a special place in my
This seems useful and the colours seem surprising appropriate and similar to what we have now, well done.
What I am concerned about is, is the lack of slightly bold formatting on certain key words.
The boldness is just as important as the colour highlighting in making the words stand out to show the clear flow of the code. I feel this most strongly applies to do with the keywords associated with branching. Please can we not loose this current feature.
This is a really great update to the editor, and a step toward becoming a robust IDE. As @lucided mentioned, it would be awesome to be able to bold or italicize certain tokens. I think it would be cool to have optional strikethroughs for deprecated classes/functions, for example:
foo:DeprecatedFunction()
bar = Instance.new(“DeprecatedClass”)
It seems Roblox doesn’t currently have an in-editor warning for deprecation; I’m just using it as a use case for strikethoughs
It would also be nice to be able to independently control the highlighting of function declarations vs. function calls. I know some editors also allow for independently changing the highlighting of variable declarations vs. variable usages, though I’m not sure how widely used this is.
Really look forward to this (though I’m not looking forward to redoing my editor themes I just finilized a few weeks ago for my theme manger plugin haha).
I’d like to second that it’d be nice to see operator words like and/or/not having their own color.