JohnnyMorganz / luau-lsp

Language Server Implementation for Luau
MIT License
247 stars 58 forks source link

Unkown Require When Using Fusion #812

Closed Slimified closed 1 week ago

Slimified commented 1 week ago

I am attempting to use Fusion with Luau Language Server and Fusion, however, when putting Fusion in my ReplicatedStorage and attempting to require it through a script in Visual Studio Code, I get an error telling me that it is an unknown require, even though it works perfectly with syntax highlighting and autocompletion in Roblox Studio. Why is this? Fusion is a .rbxm file that I am putting in my shared directory in Rojo that is linked to my ReplicatedStorage.

JohnnyMorganz commented 1 week ago

Unfortunately, we do not support loading via .rbxm files, since Luau LSP does not come with a roblox model decoder

JohnnyMorganz commented 1 week ago

The only way I think we will ever support this is via the Studio Companion plugin (however, that will probably be in a long while).

Going to close this in favour of #747