Skip to main content
3 votes

When to use 'Set a Default org' option in VS Code Salesforce

In the Salesforce CLI v2, you can use this command to set your default org: sf config set target-org my-scratch-org
R. van Diesen's user avatar
2 votes
Accepted

Where to see triggers in Visual Studio Code

They will appear in <path>/main/default/triggers, where <path> is configured in sfdx-project.json. Try the following command in your console: sf project retrieve start -o orgAlias -m ...
sfdcfox's user avatar
  • 495k
2 votes
Accepted

How do I get Apex Code Coverage in Visual Studio Code to show color highlighting and percentage after running a TestSuite?

Open the Command Palette (Ctrl-Shift-P/Cmd-Shift-P), and find the command SFDX: Run Apex Test Suite, and select the suite. Your code coverage will automatically be updated. You won't get code coverage ...
sfdcfox's user avatar
  • 495k
1 vote
Accepted

How to Diff Entire Org (list of changed files) in VSCode?

I've never used that VS Code / SFDX feature, but here is what I usually do - Create a local git repository if you don't already have one (git init) Commit the latest changes Set your package.xml file ...
Wes Lyons's user avatar
  • 336
1 vote
Accepted

Is there a correct syntax highlighting for Aura Components in VSCode?

From your screenshot it appears you refer to the VSCode HTML built-in style checker. In VSCode's Settings you can find this as HTML: Validate: Styles. Toggle this. The underlying property is html....
Felix van Hove's user avatar
1 vote
Accepted

Connect VSCode to existing Scratch Org

VS Code uses the standard settings for a project folder. You can use the menu item in VS Code to set the default user name (click on the "plug" icon in the lower-left corner), or use sf ...
sfdcfox's user avatar
  • 495k

Only top scored, non community-wiki answers of a minimum length are eligible