Settings
The extension contributes three settings under the sfdt.* namespace. All are
workspace-scoped, so different projects can target different orgs and CLI binaries.
| Setting | Type | Default | Description |
|---|---|---|---|
sfdt.cliPath | string | "sfdt" | Path to the sfdt CLI binary. Defaults to sfdt on your PATH; set an absolute path if the CLI isn’t found. |
sfdt.defaultOrg | string | "" | Org alias passed to commands via --org. Empty uses the project’s configured defaultOrg. |
sfdt.dashboardPort | number | 7654 | Port the sfdt ui dashboard server listens on. |
Example settings.json
{
"sfdt.cliPath": "sfdt",
"sfdt.defaultOrg": "dev-sandbox",
"sfdt.dashboardPort": 7654
}If sfdt isn’t on your PATH (for example when using a Node version manager), point
sfdt.cliPath at the resolved binary:
{
"sfdt.cliPath": "/Users/you/.nvm/versions/node/v22.18.0/bin/sfdt"
}Setting the org interactively
You can set sfdt.defaultOrg without editing JSON: run SFDT: Set Default Org
(sfdt.setOrg) and enter an alias. Clear it (set it back to empty) to fall back to the project’s
configured default org.
Last updated on