Add GetService variable declaration autocomplete

As a Roblox developer, I spend too much time manually typing out GetService variables at the top of my scripts.

I experience less friction using Visual Studio Code and the Roblox Lua Autocompletes extension:


Roblox Lua Autocompletes - Visual Studio Marketplace

The VSCode extension exposes each service as an autocomplete field that, when selected, automatically inserts the variable declaration at the top of the script. This introduces a noticeable speed improvement to my coding experience that I miss while using Roblox Studio’s script editor.

My workaround is to continue writing my code and fill in the missing service declarations after I’m done, but this is inconvenient because I don’t get the benefits of member autocompletion that I would had the variables been previously declared.

If Roblox is able to address this issue, it would improve my development experience because it would reduce friction in writing code that involves services.

30 Likes