Monday, July 27, 2020

Setup VSCode with Salesforce

Step by Step guide to setup VSCode with Salesforce
  • Install vscode
  • Install Salesforce CLI (developer.salesforce.com/tools/sfdxcli)
  • Perform following steps to setup project in VSCode
    • View => Terminal
    • Verify that "Salesforce Extension Pack" extension is installed.
    • View => "Command Palette" => "Create Project with Manifest" ==> Select standard ==> Give project name
    • Authorize SF org from "Command Palette"
    • Select Sandbox. Give alias name as name of project.
    • Right click in package.xml and select "SFDX: Retrieve Source in Manifest from Org"
    • You can deploy source to SF org.
    • Using "Command Palette" you can create new Apex Class.

Setup VSCode with Salesforce

Step by Step guide to setup VSCode with Salesforce Install vscode Install Salesforce CLI (developer.salesforce.com/tools/sfdxcli) Perform fo...