SF Helper Extension
SF Helper is a Visual Studio Code extension designed to streamline Salesforce development by providing quick access to common operations such as deploying, retrieving, running tests, executing anonymous code and managing debug logs.
Features
- Deploy Active File: Deploy the currently active Salesforce file.
- Deploy Active Folder: Deploy all files in the active folder.
- Retrieve Active File: Retrieve the currently active Salesforce file.
- Retrieve Active Folder: Retrieve all files in the active folder.
- Run Active Test Class: Run tests in the currently active test class.
- Execute Anonymous Apex Code: Execute anonymous Apex code.
- Monitor Debug Logs: Monitor debug logs in real-time.
- Delete All Debug Logs: Delete all debug logs from the org.
Prerequisites
Before using the SF Helper extension, ensure you have the following prerequisites installed:
- Salesforce CLI (SFDX): Install Salesforce CLI from the official Salesforce website (Salesforce CLI Installation).
- Powershell (Windows):da Make sure Powershell is installed and accessible from your terminal environment.
Installation
To install the SF Helper extension, follow these steps:
- Launch Visual Studio Code.
- Go to the Extensions view by clicking on the square icon on the sidebar or pressing
Ctrl+Shift+X
.
- Search for "SF Helper" in the Extensions view search box.
- Click on the Install button for the SF Helper extension.
Usage
Once installed, you can utilize the SF Helper extension using the following keyboard shortcuts:
- Deploy Active File:
Ctrl+Shift+1
(Windows/Linux) or Cmd+Shift+1
(Mac)
- Deploy Active Folder:
Ctrl+Shift+2
(Windows/Linux) or Cmd+Shift+2
(Mac)
- Retrieve Active File:
Ctrl+Shift+3
(Windows/Linux) or Cmd+Shift+3
(Mac)
- Retrieve Active Folder:
Ctrl+Shift+4
(Windows/Linux) or Cmd+Shift+4
(Mac)
- Run Active Test Class:
Ctrl+Shift+5
(Windows/Linux) or Cmd+Shift+5
(Mac)
- Execute Anonymous Apex Code:
Ctrl+Shift+6
(Windows/Linux) or Cmd+Shift+6
(Mac)
- Monitor Debug Logs:
Ctrl+Shift+7
(Windows/Linux) or Cmd+Shift+7
(Mac)
- Delete All Debug Logs:
Ctrl+Shift+8
(Windows/Linux) or Cmd+Shift+8
(Mac)
- Show All Options (Dropdown):
Ctrl+'
(Windows/Linux) or Cmd+'
(Mac)
You can use these shortcuts within the editor to quickly access and execute the corresponding actions provided by SF Helper.
Contributing
If you encounter any issues or have suggestions for improvement, feel free to contribute to the project by submitting bug reports or pull requests on the GitHub Repository.
Thank you for using SF Helper! If you find this extension helpful, consider leaving a review or rating on the Visual Studio Code Marketplace.