Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Defold BuddyNew to Visual Studio Code? Get it now.

Defold Buddy

mikatuo

|
81 installs
| (0) | Free
Tools for Defold to make your life easier and coding in Lua nicer.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Defold Buddy

Tools for Defold to make your life a bit easier and coding experience in Lua nicer.

Features

IntelliSense for Defold API

  1. Press Ctrl+Shift+P (or Cmd+Shift+P) or go to View > Command Palette.
  2. Select Defold: Initialize
Demo

a138ae9600cd0fa1d520bb4fbb8f33c897f3aa8f

4cf75769ac699bbe2e1242fd9f6af705ccb29816

213931566-78acccca-6335-4407-8e1a-3ab000899525

IntelliSense for project dependencies

Demo

2647bce06606342c31c08006257d11e0173b23f5

Autocompletion for Defold URLs in .script files

Note: read about the addressing if you are not familiar with the concept.

Known issues: The suggestions do not refresh automatically when you make any changes to your .go and .collection files. For now you need to re-index them manually by runnin a command.

  1. Open a .script file, you should see suggestions after typing a ", or pushing Ctrl+Enter with cursor next to a ".
  2. Run "Defold: Index game files for autocompletion" when you need to refresh the autocompletion
Demo

fb28a66cc769e7ccf8135deb9bfc110bbbf2eb6a

Run "Project > Build" from VSCode (requires Defold editor opened in background)

Note: you can set a hotkey for this command as well as for any other command

Demo

81887c48d3bad6b29c9dbb49bea0c179d652cb05

Hot reloading when .script and .lua files are saved

Demo

https://user-images.githubusercontent.com/7230306/222926994-3aa97bc2-74c4-48f7-a183-176b024d2a41.mp4

Create .go + .script + .factory files from Explorer context menu

Demo

147121c5ed7f8954862f3a27fee4cf8cf1efaa16

Generate manifest (reduce game bundle size)

Demo

You can generate the app manifest from Defold editor: fc6f5813cdea82f6a8f264f7634f3b28855e6a3f_2_408x429

Or from VSCode: 8ea1248ec0f937778e9e3645a4158209fb53ada0


Credit

  • Manifest generation code was copy pasted from Defold App Manifest generator by britzl.

Resources

  • Annotations used in this extensions are generated with Defold Lua Annotations.
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft