The Syntax Highlighting for Lua is pretty awful for being Roblox’s coding language.
This is a pretty basic codeblock, using ```lua
for i, v in ipairs(game.Workspace:GetChildren()) do
local test = Instance.new("Part")
test.Parent = workspace
script.Parent.PreloadServiceAdminPanel.Main:TweenPosition(UDim2.new(1,0,1,0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 15, true)
That’s an extremely basic codeblock, but almost none of it is syntax highlighted, besides the strings, numbers, and print and ipairs.
For Lua being Roblox’s main language, I think that it should be highlighted much more than it currently is.
Great suggestion. Though I’m not sure how many people actually need this. Like @ValiantWind once said, would you rather have this update, or Roblox staff work on resuming promotions to regular? Idk, just my thoughts. Also, what suggestions to be highlighted do you have?
I do see some use for it, I dont have studio open sometimes and when I go to help in #help-and-feedback:scripting-support or something, I can get confused because I really rely on autocomplete to do most stuff, and this would greatly help me.
Also, just a crazy theory, but staff have been talking about regular promos a bit more than usual lately, I think they’ve found something and wanna integrate it soon.
I’m probably wrong, but hey, that’s just a theory, a FORUM THEORY!!
I apologize for necroposting, but I didn’t want to make a new thread when two existing threads were already made. I chose this one as it’s more recent than the 2021 thread. I don’t see any conclusive response to this other than LuaCow asking for the type of coloring, and I have yet to see any forum changes in relation to this yet.
While not a high priority by any means, I assume that editing a syntax color format is relatively easy. All I’d like is the same or similar syntax highlighting/coloring that Studio has.