Skip to main content

Questions tagged [vs-code]

Visual Studio Code is a free source code editor developed by Microsoft for Windows, Linux and macOS. When the "Salesforce Extensions for VS Code" are added it: supports syntax highlighting and intelligent code completion for Apex, Visualforce and Lightning Components; works well with SFDX including with scratch orgs; supports debugging. Git UI is built in. Many other extensions are available.

0 votes
0 answers
25 views

Issue with VS code when trying to connect to Salesforce org

I have installed VS code on Apple Silicon Chip M1 and used it for around 1.5 years now without any issues. I am getting the below error from last week when I try to authorise my Prod or Sandbox orgs. ...
Arzad's user avatar
  • 95
2 votes
1 answer
115 views

Error after installing Salesforce CLI

Something is not working after I have installed the Salesforce CLI. When I query sfdx update in PowerShell I get this error: Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Program Files\sf\client\...
Heather's user avatar
  • 73
0 votes
1 answer
45 views

How to set rules in vscode salesforce security scanner

I'd like to be able to set what rules run when running the Salesforce Security Scanner from within VSCode. There are times when I'm solely interested in security issues and I want to filter out noise,...
Ken's user avatar
  • 450
-1 votes
1 answer
37 views

Create metadata Container with sfdx command

Is it possible to create a Metadata Container using sfdx command ? then to create an apex class and deploy the metadataContainer to my Salesforce Org I want to update an apex class that i have in my ...
TheHmad Al's user avatar
0 votes
1 answer
48 views

Unable to deploy due to Payload Error Invalid version specified on package.xml

I'm unable to deploy a simple LWC from a trailhead. (I'm copy/pasting the example code, couldn't get to the hands-on challenge) A list of things that I already tried: Changed the version on the ...
Juan Ignacio Carreño's user avatar
0 votes
1 answer
32 views

Execute Anonymous code stopped working in VS Code

Around a week ago I was executing random code from VS Code and checked the output (to debug stuff that I then put in an Apex class). But today when I hit key combination or select "SFDX: Execute ...
Andrii Muzychuk's user avatar
0 votes
0 answers
53 views

Salesforce for Vlocode not connecting to a Salesforce Org in VS Code

I am trying to connect a Salesforce org to Vlocode to work/deploy Vlocity components via vs code. But whenever I try to connect to a Salesforce Org, it shows up the below error [SalesforceConnection] [...
C. Praveenkumar's user avatar
2 votes
1 answer
35 views

How to remove locationX and locationY from flow files?

When retrieving a flow file using vscode, is there a way to remove the <locationX> and <locationY> nodes? These are really annoying, and make the process of identifying differences between ...
Nick C's user avatar
  • 6,790
2 votes
2 answers
174 views

Salesforce Org Browser in VS Code: ctrl+f stopped working

I used to be able to click on a metadata category (e.g., Apex Classes) in the org browser within VS Code. I could then use ctrl+f to bring up a search box where I could type in the first few ...
SF Dev Man's user avatar
0 votes
1 answer
53 views

Where is CurrencyType Metadata for Multicurrency stored in VSCode?

tl;dr - Is CurrencyType metadata available for tracking in VSCode, and if so where is it stored? I'm working on a project that involves activating multiple currencies in my org. I've been able to ...
Jwok's user avatar
  • 789
1 vote
1 answer
143 views

VS Code - Unable to activate the Apex Language Server - spawn ENOTDIR

I'm trying to resolve Apex Language Server error in VS Code: Unable to activate the Apex Language Server - spawn ENOTDIR Supported Java version has been installed and is already set in VS Code ...
Harout Tatarian's user avatar
-1 votes
1 answer
49 views

How to access existing code in Salesforce

I am an admin but not familiar with apex coding. How do I access existing code? Is it through Developer Console? As I am looking through the related questions, I came across Visual Studio Code ...
DigitalCS's user avatar
0 votes
0 answers
20 views

VSCode SFDX Deploy Source to Org -- Seems to be attempting to validate against multiple environments?

I have a LWC which is currently being used in an Experience Cloud site. I have VSCode authenticated with a sandbox org, and I attempted to make one change (removing a particular design attribute from ...
user148666's user avatar
0 votes
0 answers
45 views

VS Code Apex Debug Replayer : "Running Java Command .... failed"

I am trying to run the Apex Replay Debugger and keeps getting the following VS Code Apex Debug Replayer : "Running Java Command .... failed" error. It used to work on my computer (windows) ...
jojopogi's user avatar
  • 512
3 votes
1 answer
54 views

Reduce coverage noise in results when running Apex tests in VS Code

It used to be that when I ran Apex tests on a test class in VS Code, I would see one result per @isTest method. More recently (I'm not sure for how long), I started getting multiple results per @...
Matthew Souther's user avatar

15 30 50 per page
1
2 3 4 5
38