In this blog, I would like to share the steps for configuring Salesforce Developer Experience (SFDX) in my favourite code editor Visual Studio Code for enabling Source Driven Development model. Salesforce DX supports the traditional application development experience with debugging (specifically on apex), CLI (Command Line Interface) Support along with Visual Studio Code.
First of all, install the appropriate version (v1.25 is the latest as of July 31st 2018) of Visual Studio Code which is supported on your Operating System. Download the latest version of VS code from here.
Download Link : https://code.visualstudio.com/download
Once you have completed the installation of VS Code, then proceed with the below steps.
Install Salesforce DX Extensions on VS Code
The available Salesforce extensions in Visual Studio MarketPlace are
To install an extension on visual studio code, there are two ways.
- Search for the extension in the search area of the extension tab highlighted in the below image
- Install the extension directly from the Visual Studio marketplace
Install – ‘Salesforce Extensions for Visual Studio Code’.
It automatically installs the other dependent SFDX extensions also.
Once you have completed the installation, the editor asks for a reload (click on the reload button).
Now, Visual Studio Code has been equipped to support the SFDX based Salesforce application development.
You can verify the SFDX installation by creating a new project using SFDX commands. Refer to my blog for creating an SFDX project.
Don’t forget to share the post if you like it & bookmark the blog for future references. If you have any comments or doubts on this post, Please comment on the box.