No intellesense when using nested variables or WaitForChild method

Basically say I’m dealing with mainGui and I created a variable for it
local mainGui = game.StarterGui.MainGui
now I created another variable using this first variable
local menu = mainGui.Menu

What will happen is that the second variable won’t have intenseness working as shown in the screenshot below
Screen Shot 2021-09-18 at 12.10.13 PM

but if I tried to access it directly (from the first variable) I can get intenseness

Screen Shot 2021-09-18 at 12.09.56 PM

also when i use :WaitForchild() I don’t get any intellesense
Screen Shot 2021-09-18 at 12.19.25 PM
Now without :WaitForChild
Screen Shot 2021-09-18 at 12.19.59 PM

I would really appreciate any help to fix it as those two errors are getting very annoying (when I work with vs-code Roblox LSP intenseness I don’t have those errors, but sometimes I’m forced to use roblox studio to create tools script for example)

please let me know if placing scripts inside tool is bad or against the convention

Do you have enabled autocomplete beta in roblox studio?

1 Like

I searched in settings for “autocomplete” and I found “General>Enable AutoComplete” and it was checked on, if that’s what you mean then yes it’s enabled

It’s beta feature, you need to enable it by opening beta features window.

1 Like

I just realized that the screenshots aren’t big enough and confusing, anyway I didn’t do any naming errors so don’t worry about that

This worked for both issues, thank you so much!
are there any other beta features I should turn on to make roblox studio better?

I am not using any other feature related to script editor besides that.

1 Like

Sorry I literally made that reply at like 5:00 in the morning and I had no clue what I was talking about. Apologies.

1 Like

It’s completely okay don’t worry, thanks for helping I appreciate your time!

1 Like