I am trying to learn about Intellisense in Roblox Luau.
I wanted to create a script that required all of the services in game, that could also be used as a reference for their functions in intellisense.
The problem is, if I were to make a script like this:
local Services = {
ServiceOne = require(game.ReplicatedStorage.ServiceOne),
ServiceTwo = require(game.ReplicatedStorage.ServiceOne)
}
return Services
Then it won’t show me intellisense in the services themselves.
For example, if this was in the ServiceOne script.
local Services = require(game.ReplicatedStorage.Services)
local ServiceTwo = Services.ServiceTwo – This option would not show up under services via intellisense
Is there anything I can do to get around that, without exporting every function of every service?
1 post - 1 participant