Autocomplete Not Working in ModuleScripts

Possibly related: The Script Editor

I noticed today that Autocomplete isn’t working for my module scripts 100% of the time. Strangely, it works fine in my normal scripts. This is very, very annoying as it forces me to manually add ends and indent.

I’m not using any of these beta features: Stop2

Repro file:
ModuleScriptNoAutocomplete.rbxm (773 Bytes)

If any more information is needed, I’ll be glad to provide it!

1 Like

Hi, thanks for reporting!

I just downloaded your file and typing something in ModuleScript, but I cannot see the problem. Would you describe more about what kind Autocomplete is not working? Be sure you don’t turn off auto-indent option from setting.

Darn, should have been more descriptive. Thanks for taking a look at this!

Autocomplete isn’t adding ends when it should be. Like this:

I checked my settings, but unfortunately auto indent is turned on.

If I can provide any more information, I’ll be happy to

2 Likes

Love this detail information! Now I can reproduce the issue and it should be related with anonymous function. Let us know if you have other scenario that block-ender-complete doesn’t work. Thank you!

2 Likes

This also happens to me in a regular script, and it’s becoming very annoying and also messing with the indentation with the code. It’s been happening for around 3 days. Only happens with if statements inside functions I believe.

4 Likes

I can confirm, this is also happening to me on both regular scripts and module scripts.