The script editor detects keys inside a module script as a global in the Script which required it. I don’t expect it to have an auto complete as I don’t think it’s supposed to do that.
Where: Roblox Studio script editor
When: First experienced a week ago
Reproduction Steps
Create a module script with as a dictionary holding a dictionary. Like this for example:
return{
['5'] = {
OKAY = 'Good'
}
}
Require that module script from any type of script and then reload the script and module.
Type 5.
and you should see something like this
Alternatively, you can do this with strings too. Changing '5'
to 'TEST'
.
Video
Reproduces 100% of the time