The Script Editor

I’ve always found the autocomplete a little flawed since objects that are nested deep within the parent-child hierarchy do not get autocompletion for properties and functions. Hopefully, it’s going to get fixed now. :slightly_smiling_face:

I don’t know what code folding refers to, but I do know that block ending did have a little issue. For functions, the beginning part (near :Connect(function()) was a little awkward to type out because of the autocomplete for parentheses, which always added an extra one. Hopefully, this also gets fixed. :slightly_smiling_face:

We truly appreciate your effort! :heart:


I am loving these “convenience” updates that focus on the developer workflow. Keep it up Roblox! :roblox::roblox_light:

5 Likes

What does “native support for Luau” actually mean? Luau is just a Lua VM. What does natively supporting it actually entail?

7 Likes

Any chance these changes affected this?

I only ask because it started around the same time.

3 Likes

Hopefully “native support for Luau” in the editor includes something like this:

image

Without advanced insights like these, suggestions, and other code analysis and navigation tools, Luau types will end up being more of a nuisance than benefit.

20 Likes

Thank god. These bugs were crippling my workflow (in fact – I was planning on filing a bug report in the next few days). Very glad to see these fixed.

1 Like

I agree to an extent, I believe the time and resources they spend on re-inventing the wheel could be better spent elevating the platform in other ways to bring it closer to the industry and remove some of the restrictions/limitations it has.

On the other hand, I think a big reason why they do this is so brand new developers or kids learning how to code don’t have to jump through all these other hoops just to get something up and running.

I’m all for re-inventing the wheel and attaching roblox-brand stuff to things if it helps new developers grow and learn game creation concepts, it’ll ease their transition to other more professional tools.

It doesn’t make much sense from us from a professional/experienced developer’s perspective, but if you’re 11 years old and want to learn how to make a brick change color, it’s nicer to be able to just insert a script and use the editor rather than find the rojo plugin, install it, set up VSCode, etc…

This applies to other areas as well. Are unions almost always stupid? Probably. Is blender better? Yes. Does every brand new developer want to learn a ton of different software when they’re just starting out? Probably not.

Roblox can be a professional game development tool, but it’s also always been an innovative medium to get younger people into game development in a less daunting way.

(Also, this doesn’t mean I’m disagreeing with you about how they need to start adding better support for third party tools - I just believe it’s more fitting if they do both :slight_smile: )

41 Likes

This is true, but you have to remember that not everyone is a power user in the sense that they are not interested in using VSCode and Git with GitHub. Although implementing native support for external editors would be great, having everything you need to create a game in one place (Roblox Studio) is good for beginner and intermediate developers simply because it does not require you to download extra software and do extra work to get started.

That being said, it makes sense why they are prioritizing the advancement of their built in editor and other features that Roblox Studio provides instead of taking away their limited engineering power from the majority and putting it on the minority.

13 Likes

I am an animator, so although I don’t work with scripts much, I do need to sometimes. I am also trying to learn more about scripts and might start making games soon. This sounds pretty good and I hope it’s helpful.

1 Like

And what about the people who are just starting out on Roblox and don’t want to have to figure out multiple things to make a game? What if they just want to use Roblox studio to keep it all in one place?

You could just as easily go and create games with Unity or Unreal Engine if you want to get good usage as a power user.

I’m a computer science major who has been programming since I was 9. Roblox Studio works perfectly fine for me and many other users.

I do agree however that Roblox could do with a little sprucing up and make it more easily accessible to use third part software for development, but to the majority of the people on Roblox. They’re just starting out, don’t know what they’re doing, or don’t know how to use other tools, and may not want to learn them.

11 Likes

I noticed a few days ago that when I open a script, it opens from the last line. It’s kinda hard to deal with because all my variables are at the top and I have to scroll 600 lines at a time to add a new one; is there any way to make it open at the top?

2 Likes

I’m hoping for big changes that would streamline a lot of my work!

Is there really anything Roblox could do that Rojo currently technically cannot? I don’t see why native support for external editors would be worth the time investment, when Rojo is a perfectly capable solution to this issue.

Luau refers to the umbrella initiative that includes the new parser, linter, compiler, VM, type checker, and maybe more!

For example, one issue we’ve been running into is that the old editor has its own ideas about how to do syntax highlighting. As we extend the language with types, context keywords like continue, new number literal format, etc., this means the highlighting starts to diverge - this update (IIRC) starts using Luau lexer to do highlighting, which is better than what we used to do, but worse than what we can do in the future.

16 Likes

I’d say that at this point it would be safe to consider Luau almost a new language, correct?

1 Like

IntelliSense for objects in Workspace. That was the first thing that popped into my head. I’m sure there are many other things I could think of.

1 Like

I genuinely do not really understand this Update is it an update that makes the game smoother or is it a topic that is saying the game is too laggy with some scripts always running so Roblox will find a way to fix it I read it over and over 4 times.

Neither. It is about the piece of software Roblox provides you to write your scripts! Since the new script runtime arrived (what we call the Luau VM), there were features that were implemented but did not arrive to the script editor.

For regular players (i.e. non-developers), there should be absolutely no difference whatsoever.

6 Likes

Hey Roblox Staff!

Could you tell us what are the changes to the Script Editor? Thanks.

3 Likes

I would also like to know this. I’m not sure if they want to keep the changes secret until release to surprise us or the changes are small enough that it doesn’t really matter that much.

1 Like

I can’t wait to be able to use this to-be feature! As a still learning scripter, I would love to understand syntax better! :open_book: