Setting up Visual Studio Code IDE for Salesforce Development
In this blog post we will setup Visual Studio Code IDE to work with Salesforce Development. Salesforce suggest to use VSCode as the preferable IDE for the Salesforce development and Release management in case if you are using sfdx approach in your Organization.
- Once you have successfully followed the instruction and installed the VSCode you will see something like below on opening the VSCode with release notes file.
Now that we are properly installed the Salesforce CLI and verified, Now its time to install Salesforce Extension Pack which is the Catalyst for Salesforce development.
- Go to Visual studio code and from the left side select extension icon.
- Type Salesforce Extension Pack
- Select the Salesforce Extension Pack
- Install the extension.
- Salesforce CLI Integration
- Apex
- Apex Interactive Debugger
- Apex Replay Debugger
- Lightning Web Components
- Aura Components
- Visualforce
- Salesforce Package.xml Generator Extension for VS Code
- LWC Coder
- Salesforce Lightning code snippets
- LWC CodeMate
- SalesforceDX Code Companion
- Select SFDX: Create Salesforce Project with manifest
- Select Standard
- Enter Project Name as VSCodeSetup
- Select the folder location of your choice.
- In the background Salesforce CLI will run the command to create the project with Manifest file.
- Now VSCode will open in another window with VSCodeSetup folder.
- click Ctrl+Shift+P
- Enter SFDX: Authorize an Org and select the same.
- Select Project Default
- Give an alias as VSCodeSetup
- Now it will open the browser enter your Salesforce Org Credentials.
- On successful authentication you will see output in the VSCode in the output section of the terminal.
In this blog post we have seen the Visual Studio Setup, installing the Salesforce Extension Pack, some of the useful Extensions apart from Salesforce Extension Pack and creating Salesforce Package. Thanks for Reading the blog post, In the coming blog posts we will see working with metadata, data, deployment process many more… Please drop a comment in case if you have any questions/suggestions.
Comments
1 Comment
[…] the previous blog post we have seen how to setup the Visual Studio Code and install some required extensions. Now we will […]
Leave a Comment