
Boost Salesforce development with sfdx cli and VS Code, and learn git operations. Deploy and retrieve components, and explore Apex code, test coverage, and Apex Replay Debugger in VS Code.
download VS Code for your OS and install using the user installer on Windows, or extract a zip without admin credentials. Customize preferences like dark mode on first launch.
Install git on Windows with the 64-bit installer, using admin rights, accept the license, keep default options, set VS Code as editor, then verify by typing git in command prompt.
Install the Salesforce Extension Pack, a bundle of nine extensions, to enable further development with SFDX CLI, Git, and VS Code; installation completes successfully in 5–10 minutes.
Create your first sfdx project using the sfdx cli in vscode, choosing the standard template, naming the project, trusting folders, and organizing metadata under force-app/main/default.
Retrieve the latest file from the source org with a right-click, then deploy updates back to the org, covering the manifest file and all related LWC files for the component.
Create a deployment package automatically using a manifest file that lists all metadata in your force app or sfdx project, and edit manifests to deploy a specific set of components.
Explore the ARC browser to fetch and retrieve Salesforce components from your org, compare with manifest-based retrieval, and pull flows, flexi pages, or the currency converter page.
Create aura components, apex classes, and lightning web components from VS Code with a right-click. Name them demo order, demo apex, and demo lw wc, then deploy to source org.
Execute apex test classes from VS Code using green icons to run specific methods or whole classes, note green means passed and red means failed, then refresh results.
enable the retrieve test or coverage setting in the workspace, run tests, and view apex code coverage by class and by line in vscode.
Learn how to track code changes with staging, committing, and pushing to a repository. See how source control highlights modified lines and enables rollbacks and versioning.
Create a new branch from the master in Azure DevOps and switch to it in VS Code, then pull updates with git fetch --all to work on the develop branch.
Learn to synchronize your Salesforce code by using SFDX CLI and Git with VS Code, deploying to and retrieving from your org while managing versions, commits, and branches.
Learn to build and run SOQL queries directly in VS Code using the SQL Builder extension, selecting objects and fields, applying filters, and saving results as CSV or JSON.
Learn to compare code directly in vscode using the built-in compare tool. Compare the active file with clipboard or saved versions, and see additions in green and removals in red.
In this course, you will be able to write and deploy your codes to Salesforce from VS Code. You will learn basic git operation and its combined operations with SFDX CLI with some power of VS Code.
In these 70 mins, we will install the necessary software. After that, we will kick start with our Hands-on. Starting with SFDX CLI, we will learn project creation, deployment, retrieval, and creation of the components. We will also learn Test class execution and Apex code coverage from VS code. Then we will start with Git including the basic operations of Git. After that, we will focus on the combined operations of SFDX CLI and Git with VS Code. We will learn some cool tricks with VS Code.
If you are a beginner in the Salesforce ecosystem or a learning professional, then this course is perfect for you to speed up your Salesforce development with SFDX CLI, Git, and VS Code.
This course will include the following topics:
1. Installation of necessary software:
Installation of VS Code
Installation of SFDX CLI
Installation of Git
Salesforce Extension Pack
2. Power of SFDX CLI
Creating SFDX Project
Authorizing Org
Creating and using the manifest file
Retrieving components using the manifest file
Deploying components using the manifest file
Creating deployment package using the manifest file
Deploying and retrieving files without using the manifest file
Org browser in VS Code
Creating class and components from VS Code
Executing test class from VS Code
Check Apex Code Coverage from VS Code
3. Understanding the Git operations
Pushing SFDX Project to Git Repo
Cloning branch to VS Code
Tracking the Code changes
Staging, committing, and pushing the changes
Pulling changes from the cloud repository
Pulling new branches to VS Code
Creating new branches in VS Code
4. Combined use of SFDX CLI and Git
Understanding the combined operations of SFDX CLI and Git
5. Effective use of VS Code
SOQL Query Builder
Anonymous Apex Execution from VS Code
Formatting the Code easily
Code comparing in VS Code