Autocomplete breaks after function

I’ve noticed the autocomplete breaks when trying to index a table behind a function.

Steps to reproduce:

  1. Type "function "
  2. Behind function type customService
  3. When typing it will not be suggested.
local customService = {}

function customService:_PrivateServiceMethod()
    
    local object = "TestObject"
    
    return object
    
end

function customService:PublicServiceMethod()

end

return customService
2 Likes

Hello! Sorry for the delay in reaching out. Agreed, this seems like something that ought to be fixed, given how common of a pattern this is.

1 Like