Skip to content

Releases: astrochili/vscode-defold

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.

2.0.8

10 Oct 15:59
Compare
Choose a tag to compare

Changed

  • Changed the build path to avoid conflicts with the Defold Editor build.

2.0.7

03 Oct 12:52
Compare
Choose a tag to compare

Fixed

  • Fixed the soft migration of the workspace launch configuration.

2.0.6

03 Oct 12:31
Compare
Choose a tag to compare

Changed

  • Renamed the category of tasks and commands from Defold to Defold Kit to avoid conflicts.
  • Renamed all the settings keys from defold. to defoldKit. to avoid conflicts.
  • Renamed launch configuration to Defold Kit to avoid conflicts.

Added

  • Soft migration of user settings from defold. to defoldKit. keys.
  • Soft migration of the workspace launch configuration from Defold to Defold Kit name.

2.0.5

30 Sep 20:05
Compare
Choose a tag to compare

Removed

  • Removed everything related the Launch (without debugger) and Build to Launch commands to avoid confusing.
  • Now the only way to launch the game is using the Run ang Debug panel.

2.0.4

30 Sep 09:12
Compare
Choose a tag to compare

Fixed

  • Fixed the launch command for a project with spaces in the path.