Hey folks, while learning all the SDK pieces, I've created a small vscode extension and example app which provides auto-completion based on vscode-lua and sets up the ability to compile and run your games.
From a quick read of their source code, it looks like they loop through all Lua ASTs and create scopes full of tables or functions which can be attached to the object-likes used in Lua.
In the example project, I recommend passing in the entire SDK/CoreLibs folder to the language server as a set of libraries as a reference, the LSP collates all the usage of these particular types of objects. The side-effect is that Lua APIs which aren't referenced in the core libs will get missed - but it's a reasonable coverage of most APIs I explored from the examples folder
First of all, thanks for your contribution. I have been testing yout extension and it works well creating de myGame.pdx. However, it fails launching the PlaydateSimulator. VS show a message saying: "Failed to start simulator".
I don't know what causes this problem. Any suggestion please?