Salesforce VS-Code new “Push or deploy code on save”

Idan Bliech
2 min readJan 13, 2019

--

updated: July 8 2019

Salesforce VS-Code extension just got “Push or deploy code on save” (ver.44.15.0 ) major improvement (ver.46.4.0 — July 3, 2019)

Setup

  1. Go to : preferences > setting > Salesforce feature Previews
  2. Click the “Edit in setting.json”
  3. Click “Copy to Setting”
  4. Set “salesforcedx-vscode-core.push-or-deploy-on-save.enabled”: true
  5. restart your VS-Code

Some additional feature added on ver.46.4.0 — July 3, 2019

  1. When a deployment is currently running, no new deployments should be started.
  2. When files are saved while a deployment is running they should be queued for a future deployment.
  3. As soon as one deployment finishes a new deployment should be started.
  4. When a deployment is started, it should contain any files that are queued so that the number of deployments are minimized.
  5. If there is no active deployment, and no files in the deployment queue, any file save should trigger an immediate deployment.

--

--