
Now you just have to copy and paste it into your editor, and it’s ready to be used. The window on the right will automatically generate your snippet in JSON format for you, whether it’s HTML, CSS, JavaScript, or another language/syntax.
In the Your snippet text area, type exactly the code snippet you want to use when you execute your snippet. In the Tab trigger field, type the shortcut text string you want to use, e.g. In the Description field, give your snippet a short description. To use it, you just fill out the existing input fields on the website: Snippet Generator allows you to quickly generate code snippets in JSON format, for not just Visual Studio Code, but also for Atom and Sublime Text.
This tool is such a huge time saver that I thought I should highlight it in its own article. 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.I just published an article about how to create custom code snippets in VSCode where I mentioned a tool called Snippet Generator by Pawel Grzybek. Instead, Apex Replay Debugger presents the logged information similarly to an interactive debugger, so you can debug your Apex code. You no longer need to parse through thousands of log lines manually. Apex Replay DebuggerĪpex Replay Debugger simulates a live debugging session using a debug log that is a recording of all interactions in a transaction. It provides code completion, syntax highlighting and validation with recommended tokens and utility classesĭownload it from here.
Salesforce Lightning Design System (SLDS) Validator :- This extension simplifies working with the Salesforce Lightning Design System (SLDS). Visualforce :- This extension enables you to work on Visualforce Pages and Components right from your IDE. Aura Components :- This extension enables you to work on Aura components. It uses the HTML language server from VS Code. Lightning Web Components :- This extension supports Lightning web component bundles. Apex Replay Debugger :- This extension replays the apex execution from a debug log reference and helps in debugging the error in your apex code. Apex Interactive Debugger :- This extension enables you to debug your apex code right from your IDE. Apex : This extension provided syntax highlighting and code completion for Apex. Salesforce CLI Integration : This extension interacts with Salesforce CLI to provide core functionality. Please check this post to learn about how to Setting up VSCode with your Salesforce Org.Īs the name suggests, it is an extension pack, so it primarily consists of 8 extensions which are as follows :.