It would be really nice if there was a button that changed
This:
for i = 1,10 do
print("Hello World")
end
To this.
for i = 1,10 do
print("Hello World")
end
Obviously this usually happens automatically as you write the code, and I can easily just do it myself if it doesn’t, but when doing things like copy/pasting it can get really annoying to go through all of the lines and make sure that they are properly placed.
Here is a super awesome plugin made by a fellow user that provides external editor support through HttpService and some cool networking tricks. Definitely recommend you check it out. I haven’t edited a script in the Roblox script editor in months thanks to this plugin. Set up is extremely easy as well.
With the Studio team looking to improve the script editor I thought I’d revive this thread.
I’d find definite use for this as I’m always refactoring and throwing code around. It’s a waste of my time to be messing around with indent levels every time I move something. It would be far faster to be able to press a key combination and have everything become magically consistent.
While this is apparently achievable with plugins, this really feels like it should just be built in as a hotkey or context menu item within the script editor, rather than a plugin you have to leave the script editor to use.
Necropost - but it’s pretty shocking that Roblox studio doesn’t have this already. Instead of mashing backspace and up arrow key on loop to unindent a massive chunk of code after removing a if statement, I feel this would be a great addition, or at least have a “Fix Indentation” of selected or something along those lines. Or even something as simple as “Unindent Once” would help a ton.