Hello Peter,
First of all, I’m really sorry to have to ask for your help again. I usually program games in Game Maker or Unity and Visual Studio is fairly new to me.
Your autocomplete extension was working fine until yesterday, although I haven’t changed anything. I’ve been trying to get it to work again for the last two hours by updating the Playdate SDK to the latest version and following the instructions again (cloned the latest version of luacats, reinstalled the sumneko VSCode extension and edited the settings.json file appropriately. The path to luacats is correct and I really don’t know why it is no longer working.
My settings.json file currently looks like this:
{
"workbench.colorTheme": "Default Dark Modern",
"security.workspace.trust.untrustedFiles": "open"
}
{
"Lua.runtime.nonstandardSymbol": [
"+=", "-=", "*=", "/=", "//=", "%=", "<<=", ">>=", "&=", "|=", "^="
],
"Lua.diagnostics.globals": [
"import",
],
"Lua.diagnostics.severity": {
"duplicate-set-field": "Hint"
},
"Lua.format.defaultConfig": {
"indent_style": "space",
"indent_size": "4"
},
"Lua.workspace.library": [
"/Users/carsten/Developer/PlaydateSDK/Code/playdate-luacats"
]
}
{
"playdate.source": "Source",
"playdate.output": "Output.pdx",
// Optionally set sdkPath if not PLAYDATE_SDK_PATH is configured.
"playdate.sdkPath": "/Users/carsten/Developer/PlaydateSDK"
}
I never set the environment variable, is this a requirement?
Thanks for your help and sorry to be a pain in the butt.
Regards, Carsten