VS Code - Defold Buddy (extension with productivity tools)

I’m sorry but I don’t quite understand :slight_smile: I made a gif where I show how it looks in my project. I found files but they are not supported by vscode

library_in_vs_code

You seem to not have ran the “Defold Buddy: Initialize” command because there is no .defold folder in your project which is added by the extension. I’m pretty sure assets are not unzipped without initialization.

image

3 Likes

Yes! thank you! Now it is working

To anyone interested there is now project initializer for Teal that does these steps from extension-teal for you and adds code completion for Defold API using Defold Teal Annotations.

10 Likes

Thanks for releasing this. I found it very useful, especially since the built in IDE for Defold seems to be missing intellisense features. For example, following the war battles tutorial at some point you write message.other_id (where message is a parameter of on_message). However the default IDE does not pick other_id as an autocomplete option. (i’m new to Defold and Lua in general so intellisense helps a lot)

Quick question: Is there a particular reason why the Cursor plugin’s last update is older than the vscode one? I prefer using Cursor over VSCode these days and looking over the repo commits it doesn’t seem like i’m missing anything. Just wanted to double check.

Thanks again! :victory_hand:

2 Likes

I don’t know anything about Cursor plugins and haven’t published anything there. My guess is either their team ported/copied VS Code plugins to their editor or someone else did. For the most part, latest extension versions added Teal annotations and an improvement for Js→Lua workflow, so you probably should be good.

1 Like

Amazing work! Can’t wait to use this in my project