How to setup visualstudio code for Salesforce - Salesforce Globe For You
Solution:
Step 1: Install visualstudio code by navigating to the URL https://code.visualstudio.com/ and based on your system that you are using
download the vs code and install it.
Step 2: Install Salesforce CLI by navigating to the URL https://developer.salesforce.com/tools/sfdxcli and based on your system that you are using download and install it.
To confirm if salesforce cli is installed or not,go to command prompt and type sfdx.
if the command shows the version,usage and topics etc it means its successfully installed.
In case if you didn't get the above,it means Path is missing.You need to check environmental variables and make sure sfdx installation path(till bin folder) is added to path variable.
Step 4: Adding Salesforce Extension Pack
Go to vs code and click on extensions icon and Search Salesforce Extensions Pack and install it.
That's it,the vs code is ready to use.
Note: Make sure java is installed and path is set correctly.
No comments:
Post a Comment