Build, Run & Package Defold projects from Visual Studio Code
build
,bundle
,resolve
,clean
, andrun
- problemMatchers for task output
- colorized console output for enhanced readability
- sourcemap support for sourcemaps emitted from TSTL
Install the Defold editor and configure the defold.editorPath
setting to point to the installation location of the editor.
Open the command pallette with ⌘ + shift + p
or ctrl + shift + p
> Tasks: Run Task
- Then selecting defold
, followed by build
, bundle
, resolve
, clean
, or run
will execute the single task with the default task configuration.
> Tasks: Configure Default Build Task
- Then selecting defold
, followed by build
, bundle
, resolve
, clean
, or run
will create or update a tasks.json file where you can provide further customization to the task. This will also bind the default task to the build hotkey ⌘ + shift + b
or ctrl + shift + b
You can always fully define your own tasks using any of the tasks that the defold
task provider provides.
{
"type": "defold",
"label": "build",
"detail": "Build the defold game project",
"action": "build",
"configuration": "debug",
"platform": "current",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated",
"showReuseMessage": false,
"clear": false
},
"problemMatcher": [
"$defold-build"
],
"dependsOn": [
"compile"
],
}
defold.editorPath
: Path to the Defold Editor, will attempt to infer path if this is not set
defold.build.email
: Email address for Bob to use when logging indefold.build.auth
: Auth token for Bob to use when logging indefold.build.textureCompression
: Use texture compression as specified in texture profilesdefold.build.withSymbols
: Use symbols when building the project
defold.bundle.liveUpdate
: Should LiveUpdate content be published
defold.bundle.ios.identity
: The name of the iOS signing identity to use when building the projectdefold.bundle.ios.mobileProvisioningProfilePath
: The path to the mobile provisioning profile to use when building the project
defold.bundle.android.keystore
: The path to the Android keystore to use when building the projectdefold.bundle.android.keystorePass
: The password for the Android keystore to use when building the projectdefold.bundle.android.keystoreAlias
: The alias for the Android keystore to use when building the projectdefold.bundle.android.bundleFormat
: The Android bundle format to use when building the project
- Fixes bug with custom task resolution
- Better editor path resolution
- Copy dmEngine from local build before attempting to resolve from Editor package
- Handle spaces in paths more gracefully
- More diagnostics and error handling
- Update problem matcher to catch native extension errors from build
- Fix run task bug on Windows when project uses native extensions
- Fix run task on Windows
- Notifications to remind you to configure the extensions in settings
- Better Default task provider defaults
- Initial release
TypeScript ❤️ Defold