All notable changes to the Defold Kit extension will be documented in this file.
The format is based on Keep a Changelog.
- Added missing check for library folder changes at startup #47.
- 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 excessive nesting of annotation folders (
defold_api/defold_api
andlibs_api/extension_v1/extension/...
).
- Removed
d954mas/defold-api-emmylua
from the annotation sources because it's almost a year out of date.
- Removed
Lua.runtime.pathStrict: true
from thesettings.json
template because of the bad side effect on external libraries autocompletion. Will review it later.
- Added
Lua.runtime.pathStrict': true
to thesettings.json
template.
- Fixed cleaning outdated and doubled library annotations after deletion or updating the version.
- Fixed cleaning library annotations folder with the
Clean Annotations
command.
- Removed
Lua.telemetry.enable
from thesettings.json
template.
- Improved the snippets a bit.
- The definition of the
on_input.action
class exists in the updated defold-annotations release. So to makeon_input.action
available, please sync Defold API annotations via command pallete.
- Added a
script
snippet with aself
class definition and annotated lifecycle functions. Useful to create a script file with ready to useself
annotations. By default, the class is named by filename. - 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 YAML files associations #40
- Fixed the libraries API syncing on Windows #37
- Optional extensions are now unselected during setup by default. Most people obviously don't need them.
- 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.
- Added the
Open Defold
command to open the current project in the Defold Editor.
- Changed the build path to avoid conflicts with the Defold Editor build.
- Fixed the soft migration of the workspace launch configuration.
- Renamed the category of tasks and commands from
Defold
toDefold Kit
to avoid conflicts. - Renamed all the settings keys from
defold.
todefoldKit.
to avoid conflicts. - Renamed launch configuration to
Defold Kit
to avoid conflicts.
- Soft migration of user settings from
defold.
todefoldKit.
keys. - Soft migration of the workspace launch configuration from
Defold
toDefold Kit
name.
- Removed everything related the
Launch (without debugger)
andBuild to Launch
commands to avoid confusing. - Now the only way to launch the game is using the
Run ang Debug
panel.
- Fixed the launch command for a project with spaces in the path.
- Added an additional annotations source to the settings — d954mas/defold-api-emmylua.
- Fixed
dmengine
selection bug for macOS with Intel during preparing for launch.
- Unwrapped
require('debugger.debugger’)
calls in the docs and in thedebugger.script
file to avoid problems with Defold code analyser before build
- Initial release