Luau-Powered Autocomplete & Language Features: Documentation + Full Release!

We tend to plan projects on a quarterly basis, so towards the end of any given quarter (like right now) we’re more likely to release things in somewhat of a “burst”

5 Likes

In general updates came in bursts lately, not just this one.

3 Likes

Best Feature EVER, This Helps ALOT.

2 Likes

Well Roblox version updates usually come out on every wednesday and they usually include flags for the new features that can be enabled at some point in time. So in a way, it is kind of intentional due to how updates work.

This would help me while I coding, great update. :grinning_face_with_smiling_eyes: :+1:

It would be nice to have comments on top of functions to reflect documentation, but with tags we can use to specify if a function is a constructor, yields, can error, etc, and for that I would actually suggest working with Moonwave, as it’s a very well known and used resource which is used for that, and Roblox LSP, popular VSCode extension, has plans to support it. It’s made by a known team, the Adopt Me team if I’m not being stupid.

On Moonwave, doc comments are shaped like this:

--[=[
    This function returns whether an object is cool.

    @yields
    @param object any
    @return isCool boolean
]=]
1 Like

Awesome stuff, nice upgrade. Can’t wait to check it out :fist:

1 Like

Now, we need something like Github Copilot :wink:

1 Like

This is really cool! It’s really comfortable coding now.

2 Likes

This seems extremely useful for programmers, although I wanted to ask, would masking GUI elements be a thing later on? Mb for asking here, but I wanted a clear answer if in the coming months we would be able to see masking for GUI elements since it has been one of the harder things to do as a roblox game dev.

Thanks, I needed it. I swear that when this was first announced but not released, studio’s auto-complete got worse. Probably just because I started noticing it.

Now that it’s here I’ll be happy

1 Like

I made a AI for that you can check out.

Great update!

I read previously that when typing “w” it intentionally suggests “Workspace” (with an uppercase “W”) so that “game.w” becomes “game.Workspace”, however if you’d like to reference the shortened path (with a lowercase “w”) on it’s own, “workspace”, it has to be typed manually. This is also the case when typing “g”, you’re suggested “Game” before “game”, though the upper-cased variant is deprecated.

game

It looks like you don’t have the beta feature enabled. Turn it on under the Beta Features setting menu (or wait till the rollout gets to you) and you’ll see the deprecated issue has been fixed :slight_smile:

3 Likes

Perfect, glad to see this was fixed! Thank you :grinning_face_with_smiling_eyes:

2 Likes

I’m currently having massive issues with this beta feature, making me unable to open certain places, whether they’re published, are team create, or are a Roblox Studio file. I’m unsure why this beta feature does that exactly, maybe depending on the amount of scripts within the place, but unfortunately as soon as I open certain places, my Studio immediately crashes. Let me know if you need any video evidence in order to help with this issue, but as of right now, I currently only have screenshots of the error I get, and of the feature.

Beta Feature:
image

Error:
image

Note: The error was obtained whenever the feature was enabled.

Note 2: Earlier before this started happening, the feature was causing big lag spikes or/and caused Studio to freeze for a few seconds, whenever a script that’s in game was opened.

1 Like

My feedback revolves around the sorting of the autocomplete suggestions. No longer can I reliably type the shortest variable and press enter before finishing, now it suggests in completely random orders, having the opposite of its intended effect.

In other words, please update the sorting of the suggestions given, preferably similar to the old version’s sorting order.

image
I was trying to type “player”

image
Here I was trying to type “WebhookModule”

Please add a studio option to disable deprecated API suggestions too, please.

3 Likes

Do you have 64 bit or 32 bit Studio installed? You can find this information in File → About Roblox Studio menu (or post a screenshot of it).

According to the information in About Roblox Studio, I have the 32bit version installed

That’s good feedback about sorting by shorter completions > longer completions. You should see that be changed soon :slight_smile:

1 Like