VS CODE – Enable Push-Or-Deploy Code on Save

Visual Studio Code:  ‘deploy on save’ into source org.

Setup:

Ctrl + Shift + P | enter “Setting” in box and select -> Preferences:Open User Settings

1

Expand Extensions. | Click on “Salesforce Feature…” | Click on “Edit in settings.json”

2

Add 👉 “salesforcedx-vscode-core.push-or-deploy-on-save.enabled”: true in the settings.json

3

Save.

Restart the VS CODE.

Now if you save the code it will automatically deploy code to your source org (authorized org).

 

Thanks

Arun

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s