Visual Studio Code is recommended IDE for Salesforce development. In this visual studio code tutorial we will talk about how to setup VsCode for Salesforce development. We will guide you step by step process to setup Vscode. In this session you will learn how to connect vscode to salesforce sandbox and how to retrieve apex class in vs code.
We can significantly increase productivity by using the right tools at the right time. Visual Studio Code is a popular development tool for its incredible productivity features. In this session, we’ll explore the features of VS Code, configure, and customize to use it as a power tool for Salesforce Development.
- How to Install VsCode
- Install Salesforce Extension Pack.
- Create project with non Scratch Org
- How to create Apex Class
- Run Test Class : To retrieve code coverage results when you run Apex tests, edit your workspace settings and set salesforcedx-vscode-core.retrieve-test-code-coverage to true.
- Execute Code
- fetch data with SOQL
- Debug log in VsCode
Vs code is very powerful tool for Salesforce Admin to take advantage of SFDX.
VsCode for Salesforce With SalesforceDX
Salesforce Apex Hours
Amit Chaudhary is Salesforce Application & System Architect and working on Salesforce Platform since 2010. He is Salesforce MVP since 2017 and have 17 Salesforce Certificates.
He is a active blogger and founder of Apex Hours.