Defold API for Visual Studio Code

Full api snippets for Defold Engine. It is available on Marketplace. Initial release is based on API version 1.2.137. :cowboy_hat_face: All functions, messages and properties are separated, includes parameters and brief descriptions.

Defold community page:


Ordered Tabstops

Message generation

play_sound ->, “play_sound”, {[delay], [gain]})

model_animation_done ->, “model_animation_done”, {animation_id, playback})

Properties are with quotation marks



Recommended Settings & Extension

  • Add .script files to your settings

“files.associations”: { “*.script”: “lua”, “*.gui_script”: “lua”, “*.render_script”: “lua” }

  • Install vscode-lua: Lua for Visual Studio Code. Provides Intellisense and Linting for Lua in VSCode

Leave a Reply