Top 10 VsCode Extensions for Salesforce : Amit Chaudhary

Top 10 VsCode Extensions for Salesforce
by: Amit Chaudhary
blow post content copied from  Apex Hours
click here to view original post


In this session we will talk about Top 10 VSCode Extensions for Salesforce Developers. Visual Studio Code is recommended IDE for Salesforce development. We can significantly increase productivity by using the right tools at the right time. Visual Studio Code is a popular development tool for its incredible productivity features.

In this session, we’ll explore the some useful VS Code extension for Salesforce and how to configure, and customize it to use as a power tool for Salesforce Development.

Salesforce Extensions Pack

This extension pack includes tools for developing on the Salesforce platform in the lightweight, extensible VS Code editor. These tools provide features for working with development orgs (scratch orgs, sandboxes, and DE orgs), Apex, Aura components, and Visualforce.

Salesforce Extensions Packs

Please check this post to learn about how to Setting up VSCode with your Salesforce Org.

As the name suggests, it is an extension pack, so it primarily consists of 8 extensions which are as follows :-

  1. Salesforce CLI Integration : This extension interacts with Salesforce CLI to provide core functionality .
  2. Apex : This extension provided syntax highlighting and code completion for Apex.
  3. Apex Interactive Debugger :- This extension enables you to debug your apex code right from your IDE.
  4. Apex Replay Debugger :- This extension replays the apex execution from a debug log reference and helps in debugging the error in your apex code.
  5. Lightning Web Components :- This extension supports Lightning web component bundles. It uses the HTML language server from VS Code .
  6. Aura Components :- This extension enables you to work on Aura components.
  7. Visualforce :- This extension enables you to work on Visualforce Pages and Components right from your IDE.
  8. Salesforce Lightning Design System (SLDS) Validator :- This extension simplifies working with the Salesforce Lightning Design System (SLDS). It provides code completion, syntax highlighting and validation with recommended tokens and utility classes

Download it from here.

Apex Replay Debugger

Apex Replay Debugger simulates a live debugging session using a debug log that is a recording of all interactions in a transaction. You no longer need to parse through thousands of log lines manually. Instead, Apex Replay Debugger presents the logged information similarly to an interactive debugger, so you can debug your Apex code. The debugging process is a repetition of editing your Apex code, pushing or deploying the code to your org, reproducing the buggy scenario, downloading the resulting debug log, and launching Apex Replay Debugger with that debug log.

It part of Salesforce Extension pack. Check here for more details.

Salesforce Documenter

Salesforce Documenter aims at facilitating properly structured code documentation for Salesforce-related files by automating related tasks such as generating & maintaining File and Method headers.

SFDoc can be adopted as a project-wide and/or team-wide standard, in an effort to encourage, and eventually enforce, proper code documenting. Through these means, code becomes easier to understand, maintain, and evolve.

  • Add a Method header to any Apex method; generating ApexDoc-compliant tags.
  • Add a File header to any Salesforce file (Apex, Visualforce, Aura, LWC, JavaScript)

Check more detail from here.

Salesforce LWC Shortcut Keys

This extension contains code snippets (shortcut keys) for salesforce Lightning Design System and JavaScript in ES6 syntax for Vs Code editor (supports HTML, JavaScript and XML).

Download this tool from here.

Salesforce Package.xml generator for VsCode

Salesforce Package.xml Generator is good extension for you to create a package.xml right inside the vscode and that too dynamically without writing a single line yourself

This extension provides a User Interface to choose metadata components for Package.xml file for development against sandboxes or DE orgs (Org Development Model with VS Code). This is similar to Eclipse Force.com IDE Add/Remove Metadata Components option

Download the extension from here.

Salesforce Snippets.

This extension will give developers a lot of Salesforce code snippets which can be easily used while writing code in Apex and Aura Components to write code faster.

Download it from here.

Salesforce SOQL Editors

This extension enables developers to create, run and add to Apex SOQL queries without leaving the IDE.

Download this extension from here.

Salesforce Dx Code companion

Provides ability to save Apex Classes,Apex Triggers, Visualforce, AuraBundles, Lightning Web Component Bundles(under preview) and ApexComponents to Salesforce Org at blazing speed without source tracking. Also enables retrieving code from the salesforce unmanaged package/changesets in both DX and NonDX source formats.

Download this extension from here.

Apex PMD

Apex PMD allows you to run static analysis on your Apex and Visualforce files. We can run Apex PMD on file open, on file save and there are a lot of other options that you can configure. Please check this post to learn more about ApexPMD and how to customize rule-sets for Apex PMD.

Apex PMD

It is an open source static source code analyzer that reports on issues found within application code. It finds common programming flaws like unused variables, empty catch blocks. It will allow us to have a better quality and avoid maintenance, performance and bug problems in our Apex code,

Download the extension from here.

ForceCode

This extension is a companion for SFDC (Salesforce.com) development with Visual Studio Code. It is targeted at developers who want a lightweight and fast way to work with their Salesforce files. There’s no complicated setup process or project configurations, no external apps to keep open, and no jarring errors knocking you out of your flow

This is a one stop shop for Salesforce Development in VSCode. It is quite easier to use and has a number of features which are unique to this extension and very useful like:- Bulk record updates, Execute Anonymous etc.

Download the ForceCode extension from here.

Recording

Now its time to learn about all extension in details. Please check below recording to learn more.

Date     : JAN 30, 2021 10:00 AM EST (8:30 PM IST )
Speaker : Amit Singh

Further learning

Please let us know in comment which extension you like most. Soon we will come back with top 10 VsCode Extension in General.

The post Top 10 VsCode Extensions for Salesforce appeared first on Apex Hours.


January 30, 2021 at 07:30PM
Click here for more details...

=============================
The original post is available in Apex Hours by Amit Chaudhary
this post has been published as it is through automation. Automation script brings all the top bloggers post under a single umbrella.
The purpose of this blog, Follow the top Salesforce bloggers and collect all blogs in a single place through automation.
============================

Salesforce