

It can be modified further to fit your needs.

Useful tool for new developers or old developers working with a codebase which could use a tuneup. Comes with its own ruleset based on java best practices. Apex PMD - provides a tool to analyze code based on a ruleset.Pretty much a must have for working with sfdx. Provides syntax highlighting & will recognize salesforce files based on their extension. Salesforce Extensions for VS Code - A package of Salesforce made extensions for editing code.more keybindings and additional non standard behavioursĪdd a configuration to settings.json that specify json as the type of document for untitled files: "files.Personally, I use the following extensions for vscode:.additional extensions to download may look overkill only to format something.it's the same solution that notepad++ implement.specific format can be used on any selection in any file.Install specific extension that add language specific commands:ĭefault keybinding Ctrl + Shift + Alt + B Trick VSCode into thinking default unsaved files are jsonġ Extensions that format as specific code.Using a specific extension to format particular code (json or xml).I found two solutions to this specific problem, even if they seems more a workaround than a proper solution: The same functionality can be used with Ctrl + K M or by selecting Change Language Mode from the command palette. In the bottom right corner is available the Select Language Mode functionality that now let you select a formatting option, the default one is Plain Text. So you just need to press Select a language Start typing to dismiss, or don't show this again. Now the new tab shows directly a selection mode that says:
