Easy Salesforce DX projects management, even if you don't know Salesforce DX or git
Salesforce DX is great, but there are so many base commands and so many useful plugins that it's easy to get lost.
VsCode SFDX-Hardis aims to simplify the use of Salesforce DX with an intuitive UI and ready to use pre-integrated commands.
You can also use it to setup and use a complete CI/CD pipeline for your Salesforce project.
Graciously provided by Cloudity, and based on sfdx plugin sfdx-hardis
To install VsCode sfdx-hardis and all its dependencies, just follow the instructions in the following video !
Here are some articles with examples of use of sfdx-hardis
The extension contains 3 panels
This panel contain all the useful commands to process with clicks only.
It also has shortcut buttons
.sfdx-hardis.yml
,package.xml
... )This panel displays the selected org, dev hub org and git info (repo, branch)
It manage VsCode Theme colors depending on selected org
vsCodeSfdxHardis.disableVsCodeColors
VsCode settingThis panel checks all required dependencies, and if they are up to date.
If some a missing or with deprecated versions, a message is displayed to invite the user to click to install / upgrade sfdx dependencies
Integration between VsCode SFDX Hardis UI and sfdx-hardis CLI, so you don't need to know the commands or their arguments
Base commands allowing to a consultant profile to work on a SFDX project without knowledge about SFDX or Git
Advanced commands allowing a technical profile to work on a sfdx project without knowing SFDX or Git
Manages data and files import / export using Salesforce Data Move Utility
Ease sources execution debugging of any type of org
Handy operations on Salesforce org
Audit Tools for your orgs
Configuration helpers
Simplify creation and maintenance of packaging V2 packages (unlocked or managed)
Various commands for advanced sfdx nerds, try them :)
You can define your own custom commands that will appear at the beginning or the bottom of the menu.
.sfdx-hardis.yml
file, and add property customCommands , that will contain other menus and commands under each of them. It can be defined:
config/.sfdx-hardis.yml
file.sfdx-hardis.yml
file, in VsCode setting custom commands
(ex: C:\myfolder\.sfdx-hardis.yml
).sfdx-hardis.yml
file, in VsCode setting custom commands
(ex: http://my.server.com/.sfdx-hardis.yml
)Example in config/.sfdx-hardis.yml
:
customCommandsPosition: first # can be first or last
customCommands:
- id: custom-menu
label: Custom commands
commands:
- id: generate-manifest-xml
label: Generate manifest
icon: file.svg
tooltip: Generates a manifest package.xml using local sfdx source files
command: sfdx force:source:manifest:create --sourcepath force-app --manifestname myNewManifest
helpUrl: https://megalinter.github.io/
- id: list-all-orgs
label: List all orgs
icon: salesforce.svg
tooltip: List all orgs that has already been authenticated using sfdx
command: sfdx force:org:list --all
- id: custom-menu-2
label: Another custom menu
commands:
- id: echo
label: Echo something
icon: user.svg
tooltip: Useless commands just to show that we can use not sfdx commands too
command: echo "Something"
You can define your own custom plugins that will appear in dependencies panel
.sfdx-hardis.yml
file, and add property customPlugins , that will contain other menus and commands under each of them. It can be defined:
config/.sfdx-hardis.yml
file.sfdx-hardis.yml
file, in VsCode setting custom plugins
(ex: C:\myfolder\.sfdx-hardis.yml
).sfdx-hardis.yml
file, in VsCode setting custom plugins
(ex: http://my.server.com/.sfdx-hardis.yml
)Example in config/.sfdx-hardis.yml
:
plugins:
- name: mo-dx-plugin
helpUrl: https://github.com/msrivastav13/mo-dx-plugin
- name: shane-sfdx-plugins
helpUrl: https://github.com/mshanemc/shane-sfdx-plugins
sfdx-hardis partially relies on the following SFDX Open-Source packages
In order to know what commands are the more used, anonymous telemetry is sent to Azure Applications Insight
@vscode/extension-telemetry is used and strictly respects the VsCode Telemetry Guidelines
We collect the following custom events:
sfdx hardis:work:new
or sfdx plugins:install
)
If you don't want to send anonymous usage stats, you can disable Telemetry in Visual Studio Code
Powered by Cloudity and the Trailblazer Community