How To Setup Visual Studio Code For Salesforce Development

In the recent past we have observed that Visual Studio Code (VS Code) is picking up popularity among open source IDEs for code development across multiple programming languages. JavaScript based frameworks, Python based application development, Salesforce Apex Code development, HTML, CSS based Front End development and so on are the most popular choices working with VS Code. This powerful behavior of supporting multiple platforms resides in the ability to adopt Plugins & Extension Packs that supports most popular programming languages & frameworks, and I believe VS Code has does a brilliant job so far.

In this article we will look into detailed steps to setup Visual Studio Code as IDE for Salesforce code development. Here are the quick list of the components that we would working with in the steps below,

  1. Install & Configure Visual Studio Code
  2. Install & Configure Salesforce CLI
  3. Install & Configure Salesforce Extension Pack
  4. Create Test Salesforce Project
  5. Authorize Salesforce Org

We will discuss the individual configuration for each of the moving parts contributing to this setup in the upcoming steps,

Install & Configure Visual Studio Code

Install & Configure Salesforce CLI

Install & Configure Salesforce Extension Pack

Create Test Salesforce Project

And sure enough we will get our new Salesforce project created with the manifest file

How To Setup Visual Studio Code For Salesforce Development

Authorize Salesforce Org

This process with direct you to the Salesforce Login Page, where you can specified the login credential for your Org (no matter Prod or Sandbox). Enter your credentials

Once successfully login to the Salesforce Org. visit the VS Code again and sure enough we get the notifications to successfully authorize the Org.

How To Setup Visual Studio Code For Salesforce Development

Hope you enjoyed this article. Please leave your comments to let me know how you do like the content and how you do find it helpful to learn the topic.