Skip to content

mikatuo/defold-lua-annotations

Repository files navigation

Tests Release GitHub release

Lua annotations for Defold

Use in VS Code

  1. Install Defold Buddy extension or Defold Extension Pack
  2. Open a Defold project
  3. You will be prompted to add the annotations into your project

Read more...

Manual installation

  1. Install Lua
  2. Grab annotations from the Releases
  3. Unzip the archive with annotations inside your Defold project into the .defold folder
  4. Modify your settings as needed. Have a look at settings.json that worked best for me
  5. Enjoy!

Demo

Code_eFgeiVhGoN

Code_QTdS86DU9h

Code_8mIXL8p95G

Use in IntelliJ IDEA

  1. In the IDEA click Ctrl+Alt+S to open settings
  2. Go to Plugins and install the Luanalysis plugin
  3. Grab annotations from the Releases
  4. Unzip the archive with annotations inside your Defold project into the .defold folder
  5. In the /.defold/*.lua files replace all @class keywords with @shape keywords.
  6. Enjoy!