Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Deploy this Source to Salesforce Org without TerminalNew to Visual Studio Code? Get it now.
Deploy this Source to Salesforce Org without Terminal

Deploy this Source to Salesforce Org without Terminal

Jonathan Valoto

|
45 installs
| (0) | Free
Extension to deploy source to Salesforce org without open the Terminal if successfully
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Deploy Source to Org without showing the Terminal

Deploy source to Salesforce Org and only show the Terminal if the deployment was unsuccessful.

Overview

If you have a small screen or you don't want to close the terminal every time after a deploy (like me), you can deploy the source into Salesforce Org and just view the Terminal if the source has any error.

Requirements

  • Salesforce Project
  • Authenticated Salesforce Org
  • Opened file

Features

For now you can this extension to deploy following metadata:

  • Apex Class
  • Apex Trigger
  • Flexi Page
  • Flow
  • LWC
  • Page Layout
  • Permission Set
  • Permission Set Group
  • Visualforce Component
  • Visualforce Page

How to use it

With an open file, use one of these methods:

  1. Command Pallet option:
DSWT: Deploy this Source to Salesforce Org without Terminal
  1. Right-click on the open file:
DSWT: Deploy this Source to Salesforce Org without Terminal
  1. Set command DSWT: Deploy this Source to Salesforce Org without Terminal as a keyboard shortcut:
Code > Settings > Keyboard Shortcuts menu or use the Preferences: Open Keyboard Shortcuts

Basic usage

Edit your source, save locally and then use one of the methods described on How to use it and wait for the response.

  1. If there is error, the Terminal (DSWT: Deploy Source) will be shown with the related errors;
  2. If there is no error, the Terminal will be closed and a success message is showed;

success.png

Settings

Show error alert

You can set if after an unsuccessful deployment an error alert will be displayed on:

Settings > Extensions > DSWT: Deploy this Source to Salesforce Org without Terminal > Error Alert: Show

Default value: true

settings.png

If checked, the alert will be displayed with the terminal:

error_alert.png

Attention

This extension uses --ignore-conflicts flag on Salesforce CLI command

Other VSCode extensions

You can check others extensions that I've created on my VSCode Marketplace page

Author

  • Jonathan Valoto - GitHub
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft