RSS

Salesforce Development with Visual Studio Code

27 Jul

Hi Folks,

Salesforce IDE MavensMate is no longer being developed and supported by Salesforce.

So as a Force.com developer, which IDE we should choose instead of MavensMate?

Salesforce recommended the IDE Visual Studio Code, which has an extension like Mavensmate named ForceCode and a Salesforce’s official Visual Studio Code plugin for using Salesforce DX.

Today i am going to share the steps, to create Salesforce Project in VS Code IDE.

> Download and Installing Visual Studio Code from the below site

Download VS Code

> Refer below URL, to Install the Salesforce CLI

SFDX Setup Install CLI

> Open VS Code and verify sfdx installed successfully using terminal

execute sfdx force –help

> Install Java Platform, Standard Edition Development Kit

> Install Salesforce Extensions for VS Code Plugin

Refer below site for more information

https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode

> Open Visual Studio code, press cmd+shift+p and type sfdx: and select Create project from manifest option

> Select location (create new folder and select ) in your local machine to create salesforce project

> Check package.json is available under manifest

> Create Scratch Org for development

> Type cmd+shift+p and type Auth, select Authorize an Org option. This will redirect to the salesforce login page, login using scratch org credentials.

> After successfully authenticated, Go to VS Code and right click on package.json and select the option Retrieve Source in manifest from Org. This will retrieve the org codebase in to VS code.

> Verify the code base under force-app —> main —> manifest folder

Congratulation, now able to connect to your org from Visual Studio Code IDE.

Reference URL’s

Salesforce Extensions for VS Code – What is it?

Install Salesforce Extensions for Visual Studio Code – Trailhead

how do i connect visual studio code to my free developer org?

Using VS Code and connecting to Salesforce

Org Development Model with VS Code

Salesforce DX: Useful CLI Commands

Happy Learning !!

Get glued to know more updates.

Have a nice day 🙂

 
Leave a comment

Posted by on July 27, 2019 in Uncategorized

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: