Roblox LSP intellisense not working as intended

In VSCode, Roblox LSP isn’t working for me as intended.

Whenever I complete the line of an if statement or event(:Connect(function)), it doesn’t automatically put a parenthese at the end.

Example:

leaderboardStorage.Events.Refresh.OnClientEvent:Connect(function()
    
end

Another issue is it’ll never autocomplete then.

Example:

if true

end

I know this can happen if a script is too long,
have you tried going into preferences(Alt+S)
going the the script tab and enabling the following:
Auto Closing Brackets
Enable Autocomplete
Enable On-Type Autocomplete

1 Like

It’s not Roblox Studio, it’s Visual Studio Code.

1 Like

Extensions in VSC can’t do that type of autocompletion for you, it’s a feature specific to Roblox Studio. You may want to make a PR on the Roblox LSP GitHub or ask in their Discord if they’ve got one.

1 Like

Take your time to view the LSP extension settings and change it as you like, most notably enable auto-closing brackets to fix the first issue you had

1 Like

Would I use a tool like styLua or selene. I’m not really sure what their purposes are.