Require Autocomplete - a Module and Service Referral Autocomplete Plugin

[REQUIRE AUTOCOMPLETE]

see Creator Store asset here

An autocomplete plugin to refer to any MODULE SCRIPT in either places: script descendants, replicated storage and server storage, and to any game SERVICES.

Simply type “::” for MODULE SCRIPT autocompletion suggestions!
And use the prefix “:<” for SERVICE autocompletion suggestions!

The plugin includes finding service referrals in your code, meaning if you’ve assigned either Replicated Storage or Server Storage to a variable in a script, the plugin will detect it and use the variable for module script paths that are descendants of it. (e.g.: require(serverStorage.ModuleScript))

This is my very first uploaded plugin and very first DevForum post, so any mistakes I make with the plugin or the post, please let me know!

DEMO:

MODULE REFERRAL

Detect any module in either the script’s descendants, Replicated Storage or Server Storage and offer autocomplete suggestions.

SERVICE REFERRAL & SERVICE REFERRAL DETECTION

Offer autocomplete suggestions for all the game’s services. When a service is set to a variable, further module referrals will use that variable(if the module being referred to is within that service).

PATCH NOTES:

-[V1.1.1]- (MAY-07-2026)

  • Made error logging optional(due to the annoying warning messages whenever you startup studio with the plugin turned on). The only way to modify this setting is through the plugin’s code.

-[V1.1]- (MAY-06-2026)

  • Optimized the plugin.
  • Added details to autocomplete suggestions showing what text will be entered after the suggestion is accepted.
  • Finally updated the plugin after so long.

-[V1.0.2]- (JULY-03-2025)

  • Fixed bug that didn’t allow the command bar to use the autocompletion.

-[V1.0.1]- (JULY-02-2025)

  • Added support for Service reference autocompletion with prefix “:<”
1 Like

Very good module. I used to use a different one for this purpose, however, it did not have an autocomplete for modules – only for services, but even then it would be kind of messy.

It really does save time as things start to amount in the project.

1 Like

Ahhhh !!! This module is absolutely amazing !!! One of the top things I miss from vsc was the easy autocomplete for things like requires, and this is just that functionality but in studio !!! I tried it out a bit earlier, and aside from a small (but noticeable) amount of delay before the results showed up, it works like a charm ! I do wonder how the module would fare in very large projects, given it’s already got a small delay in my quite small testing project ?

Huge thanks and love to u goes out to you :heart_exclamation:

2 Likes

you should remove the , after make

Thanks for the feedback! I honestly didn’t think it would have that much delay, thanks for letting me know! I’ll work on optimizing the plugin in future updates.

1 Like

(lol). I see… I’ve changed it!

1 Like

It’s not really the end of the world or anything (though I do wonder how it fares in large projects), but it’s noticeable. An example is like an older phone that doesn’t immediately load applications, but instead has a kind of ‘micro lag.’ It’s noticeable, and a little annoying, but it’s not very long at all.

1 Like

I haven’t tried the plugin myself in any large projects, but I’m pretty sure it won’t end well… Considering this is my first plugin and it’s not that optimized.