Salesforce Minimized Terminal
If you have a small screen or you don't want to close the terminal every time after a Salesforce action (like me), you can use this extension to Deploy or Retrieve Salesforce metadata and only show the terminal if the has any errors.

Requirements
Salesforce Project
Authenticated Salesforce Org
Opened file
Features
You can Deploy or Retrieve these 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 opened file edit your source, save locally and then use one of the methods:
Salesforce Minimized Terminal: Deploy this source
Salesforce Minimized Terminal: Retrieve this source
You can access these commands on:
1. Right-click on the open file
2. Command Pallet option
Ctrl+Shift+P or Cmd+Shift+P
3. Keyboard shortcut 🔥
Set each Salesforce Minimized Terminal command as a keyboard shortcut on:
File > Preferences > Keyboard Shortcuts
Wait for the response
If there is error, a Terminal named Salesforce Minimized Terminal will be shown with the related errors;
If there is no error, the Terminal will not be opened and a success message is shown;
Deploy
Salesforce Minimized Terminal: Deploy this source
- Deploy: Confirm Action
- Deploy: Save Locally First
- Deploy: Warning Save Before Deploy
- Show Error Alert
Retrieve
Salesforce Minimized Terminal: Retrieve this source
You don't need to save files before retrieve, this command automatically save files and related files (-meta.xml .js .html .css) and then retrieve from Salesforce org.
- Retrieve: Confirm Action
- Show Error Alert
Settings
You can check all extension settings on:
File > Preferences > Settings > Extensions > Salesforce Minimized Terminal
Show Error Alert
default: true
In addition to opening the terminal, it also displays an error message.

Retrieve: Confirm Action
default: false
Show a confirm before running the Retrieve command.
Deploy: Confirm Action
default: false
Show a confirm before running the Retrieve command.
Deploy: Save Locally First
default: true
When using the Deploy extension command, file and related files will be automatically saved locally and then deployed to Salesforce.
Deploy: Warning Changes Before Deploy
default: false
When using the Deploy extension command, show a warning message if the file or related files (-meta.xml .js .html .css) has local unsaved changes.
*This function is only an alert and will not prevent the deployment attempt.
Setting Deploy: Save Locally First overwrite this setting.

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