This is the second part of the salesforce DX introduction series. In this second part of series, I am going show the complete set of the salesforce dx installation and the tool that need to required for development. I am going to use Visual Studio for the development.The Salesforce extensions for Visual Studio Code are a set of enhancements for custom development on the Salesforce Platform. If you want to try out Salesforce DX first, you can sign up for a trial org that has Dev Hub enabled.
Salesforce CLI Installation
The Salesforce CLI is a powerful command-line interface that simplifies development and builds automation when working with your Salesforce Org. You install the Salesforce CLI on Windows with a .exe file. You can Download and run the Windows installer from this link.
Visual Studio Code Installation
We are using the visual studio code.Go and download the Visual Studio code installation from this link.
Salesforce Extensions for VS Code
This extensions bundle includes tools for developing on the Salesforce platform using the Salesforce DX development flow in the lightweight, extensible VS Code editor. These tools provide features for working with scratch orgs, Apex, Lightning components, and Visualforce.
To use Salesforce Extensions for VS Code, install all the extensions in this extension pack.
This extension interacts with the Salesforce CLI to provide basic Salesforce DX functionality. After you install the visual studio code, launch the visual studio code to install the plugins. This extension enables VS Code to use the Salesforce CLI to interact with your scratch orgs.
To run a command from Salesforce Extensions for VS Code, press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows or Linux) and type SFDX in the command palette.
To see the output of the commands that you run, select View > Output, and then select Salesforce DX CLI from the drop-down menu. Alternatively, click Show in the completion notification.
This extension uses the Apex Language Server to provide features such as syntax highlighting and code completion.
This extension enables VS Code to use the real-time Apex Debugger with your scratch orgs.This extension enables VS Code to use the real-time Apex Debugger with your scratch orgs.
This extension supports Lightning component bundles. It uses the HTML language server from VS Code.
This extension supports Visualforce pages and components. It uses the Visualforce Language Server and the HTML language server from VS Code.
Quick Recap of part 2 before going to part 3.
Install the visual studio code and salesforce plugins