Request: Ability to add Custom LUA SDK
Closed this issue · 6 comments
If you are using FiveM, its syntax differs from standard Lua. EmmyLua does not support non-standard Lua syntax, so it is better to use Sumneko Lua.
Sumneko Lua Doesn't support adding SDK's in Intellij, so the only way i found around that is to just grab all of the natives definitions and add them locally to the folder so it loads them.
You can do the same thing in EmmyLua2 and that's working well for me, i was just wondering if i could just use the SDK as that was allot better.
Also EmmyLua2 seems to be working quite well, it detects the modules which the other version didn't.
also when i do
local functionName = function()
end
the other EmmyLua didn't support that but this one does.
you can just set this in .emmyrc.json :
{
"workspace" : {
"library": "path/to/sdk"
}
}
Yeah that's what i just did, thank you once again and i really appreciate it!