Hello. I am encountering an issues where autocomplete is not appearing to work when accessing a modulescript. Both the script and modulescript contain no errors, warnings, hints, or information. The modulescript also only has one return value.
This is an edited version of the module script in question.
local service = {}
--SERVICES--
local replicated_storage = game:GetService("ReplicatedStorage")
--TYPES--
type hello_world = {
akdASd: "func" | "element",
gASGS: "MouseButton1Click"? | "MouseButton1Up"? | "MouseButton1Down"? | "MouseEnter"? | "MouseLeave"?,
HDSfsA: (...any) -> (),
fasdAFG: {},
}
type GaSDgAsfdaA = string
type data = {
gsdADGH: {},
gsfGASFA: {} | gui_bindings,
}
--VARIABLES--
local dasdd = replicated_storage.folder
local gdfgdg = replicated_storage.folder
local asdgad = replicated_storage.folder
local client = players.LocalPlayer
local player_gui = client.PlayerGui
--MODULES--
local test_service = require(dasdd.test_service)
local test_service2 = require(dasdd.test_service2)
local utility1 = require(gdfgdg.asdasd)
local utility2 = require(gdfgdg.tables)
local utility3 = require(gdfgdg.asdasd)
--MODULE DATA--
service.gdfgdfga = {}
--FUNCTIONS--
function service:init()
end
--DISPLAY--
function service:function_name(component: string)
end
function service:run_function(component: string, func: string, ...)
end
function service:play_function(path: string)
end
function service:find_function(class: string | {})
end
function service:show_function(element: GuiObject, data: {}): GuiObject
end
function service:my_function(_type: string, data: {{}} | {}): GuiObject
end
function service.truly_a_function(instance: Instance): boolean
end
function service:func(gradient: UIGradient)
end
function service:crazy_function()
end
function service:your_function()
end
function service:not_a_function(to_put_in: GuiObject): UIGradient
end
function service:myfunction(frame: Frame | CanvasGroup)
end
function service:PascalCaseFunction(obj: GuiObject, theme: string, tweeninfo: TweenInfo, additional_property_changes: {})
end
function service:open(frame: Frame | CanvasGroup, tweeninfo: TweenInfo)
end
function service:close(frame: Frame | CanvasGroup, tweeninfo: TweenInfo)
end
return service
If anybody finds a flaw in the code structure has found a solution to their similar expierence, please let me know.
Thank you to anyone reading this for your time.