Defold Kit — Visual Studio Code Extension

I must be doing something wrong. How do I get the setup to “kick off”. It says open a defold project. But how? I opened my folder. Then I tried opening the game.project file and it just loads the file…no setup kicked off.

Edit: Finally got it work. I had to close VS Code. Then open folder. Wait a few seconds and the setup routine popped up in bottom right.

Yeap, it requires to open the project folder with the ‘Open the folder’ command.

Snippets have been improved a bit. I’ve been wanting to add automatic annotations for script lifecycle functions for a long time.

Just by typing script:

It’s also possible to add functions individually, but then still need to declare a class.