NightrainsRbx / RobloxLsp

Roblox Luau Language Server based on Lua by sumneko.
https://devforum.roblox.com/t/roblox-lsp-full-intellisense-for-roblox-and-luau/717745
MIT License
218 stars 53 forks source link

Children of script not being autofilled/recognized #194

Closed kagamiAL closed 1 year ago

kagamiAL commented 1 year ago

Specifically, when requiring a module that is a child of a script, the LSP won't recognize that the child exists. This issue started appearing after version 1.5.13

kagamiAL commented 1 year ago

This only happens when you have a meta json file ignoring unknown descendants

NightrainsRbx commented 1 year ago

Cannot replicate this, I fixed an issue related to the workspace not reloading when creating new files, did you test this with version 1.6.5?

kagamiAL commented 1 year ago

I did test this with 1.6.5, the issue still exists. For more information, I'm using the LSP with rojo and the bug only happens when you add an init.meta.json file with "ignoreUnknownInstances" as true