Skip to content

Releases: astrochili/vscode-defold

2.1.10

29 Dec 21:28
Compare
Choose a tag to compare

Fixed

  • Fixed extracting the dmengine.exe for Defold 1.9.6 on Windows #50.

2.1.9

10 Aug 22:45
Compare
Choose a tag to compare

Added

  • Added missing check for library folder changes at startup #47.

2.1.8

10 Aug 22:47
Compare
Choose a tag to compare

Added

  • Added Lua.runtime.pathStrict: true with additional fixes for annotation paths so that autocompletion of libraries works.
  • Added comparing Defold and annotations versions to sync Defold API automatically. Turned on by default.
  • Added watching on the .internal/libs folder changes to sync libraries annotations automatically #45. Turned on by default.

Fixed

  • Fixed excessive nesting of annotation folders (defold_api/defold_api and libs_api/extension_v1/extension/...).

Removed

  • Removed d954mas/defold-api-emmylua from the annotation sources because it's almost a year out of date.

2.1.7

05 Aug 15:23
Compare
Choose a tag to compare

Hot-Fixed

  • Removed Lua.runtime.pathStrict: true from the settings.json template because of the bad side effect on external libraries autocompletion. Will review it later 😢.

2.1.6

07 Jul 18:02
Compare
Choose a tag to compare

Added

  • Added Lua.runtime.pathStrict: true to the settings.json template.

Fixed

  • Fixed #39 — cleaning outdated and doubled library annotations after deletion or updating the version.
  • Fixed cleaning library annotations folder with the Clean Annotations command.

Removed

  • Removed Lua.telemetry.enable from the settings.json template.

2.1.5

11 Jun 21:07
Compare
Choose a tag to compare

Added

  • Added annotations and the ---@package marker for script lifecycle snippets. The ---@package allows to hide lifecycle functions from the global context so that you don't get confused when choosing between a snippet and a real declared function with the same name.
  • Added the script snippet with the self class definition and annotated lifecycle functions. Useful to create a script file with ready to use self annotations. By default, the class is named by filename.

Note

Example of output with the script snippet in the player.script file:

---@class player.script

---@package
---@param self player.script
function init(self)
  
end

---@package
---@param self player.script
---@param dt number
function update(self, dt)
  
end

---@package
---@param self player.script
---@param message_id hash
---@param message table
---@param sender hash
function on_message(self, message_id, message, sender)
  
end

---@package
---@param self player.script
---@param action_id hash
---@param action on_input.action
---@return boolean|nil
function on_input(self, action_id, action)
  
end

---@package
---@param self player.script
function final(self)
  
end

2.1.3

10 Apr 18:12
Compare
Choose a tag to compare

Added

  • Added YAML files associations #40

2.1.2

24 Jan 19:49
Compare
Choose a tag to compare

Fixed

2.1.1

11 Nov 12:35
Compare
Choose a tag to compare

Changed

  • Optional extensions are now unselected during setup by default. Most people obviously don't need them.

Fixed

  • Fixed confusing false start of an old build, in case of new build error. Now the old build is deleted in this case to avoid accidental launch.

2.1.0

19 Oct 11:54
Compare
Choose a tag to compare

Added

  • Added the Open Defold command to open the current project in the Defold Editor.