VS Code Extension
Updated Jun 19, 2026
DataMagik Application DesignerVS Code Extension
DataMagik App Tools (datamagik-app-tools) is a thin VS Code layer over the dm CLI. It lets you author DataMagik scripts, SQL queries, and SPA apps locally and act against the platform without leaving your editor. Every action shells the dm CLI, so behavior matches the terminal exactly.
What it adds
- CodeLens on
@dm-script.jsfiles (▶ Run, ⬆ Commit, ✎ Push meta, ≡ Status) and@dm-sql.sqlfiles (▶ Run, ⬆ Push). - Command palette (category DataMagik): Run / Commit / Push / Status, Pull scripts & SQL, Generate Types, Add Resource, Start SPA Dev Server, Log in / Switch Tenant.
- Tenant status bar — shows the platform you are logged into; click to log in or switch.
- Output channel ("DataMagik") that streams
dmoutput for read-only actions; interactive ones (add,dev) open the integrated terminal.
Requirements
@datamagik/cliavailable asnpx dm(installed bydm init) or globally — or setdatamagik.cliCommandto yourdminvocation.- Log in once (status bar → log in) to store credentials for the tenant.
Settings
datamagik.cliCommand(defaultnpx dm) — how the extension invokes the CLI.
Because the extension is a wrapper, everything in Installing & Using the CLI applies — the editor just gives you buttons for it.