How to Connect VS Code to a Salesforce Org (and When to Use Agentforce Vibes IDE or Developer Console)

Use VS Code with the Salesforce CLI and the Salesforce Extension Pack for any Apex or LWC work you plan to keep in source control. Pick Agentforce Vibes IDE (the browser tool Salesforce used to call Code Builder) only when you can’t install software, and keep the Developer Console for a quick look at one class.

Below, we connect VS Code to Salesforce org sfqdev from scratch on Windows 11: install the three pieces, authorize the org, pull code down, run tests, and clear the Java warning that greets most people on day one. Then we open the same class in the two browser tools so you can see where each one stops.

This Tutorial Covers: