Salesforce development support for Visual Studio Code
vsforce adds support for Salesforce development to Visual Studio Code, providing features such as syntax-highlighting, auto-completion, code deployment or retrieval, etc. The extension is freely available in the Visual Studio Code Marketplace (see the badges above).
Some features are still incomplete and/or missing, but already we find it quite useful for our day-to-day work. We encourage you to give it a spin, and report any issues you encounter. Even better, we'd be thrilled if you want to fork our repo and submit new functionalities & bugfixes!
In Visual Studio Code, open the Extensions panel and search for vsforce. That's all there is to it!
For most features to work, vsforce needs a live internet connection and the credentials for your Salesforce organization.
Simply add the information in your
You can either enter the credentials in your per-project
If needed (ex: when using a sandbox organization), you can also specify the
When properly configured, a message will appear in the status bar informing you that the extension is logged to your Salesforce organization.
Using the commands
Open the Command Palette and type
Here are some examples of the features the extension provides:
Basic Visualforce language support with code highlighting, code completion, and go-to definition:
Retrieve & deploy packages
Pulls or pushes your whole project to/from your Salesforce organization, based on your
Compare with Salesforce
Compare your local version with the version in your Salesforce organization:
Run SOQL query command
Run SOQL queries on Salesforce and display the result directly in Visual Studio Code.
And many more
Please read our Contributing guidelines.