1

I use Visual Studio Code (vscode) for Salesforce development and have sfdx installed. However, I'm now running into an issue. When I open a project unrelated to Salesforce in vscode, the Salesforce CLI Integration app sends me a warning stating "no sfdx-project.json found in the root directory of our open project. Open a Salesforce DX project in VS Code." It then proceeds to generate a .sfdx file with hundreds of files and folders in it. One of these files, at .sfdx/tools/256/apex.db can't be deleted while vscode is running. If I delete it after closing vscode, the entire contents of .sfdx is recreated when I open the project again.

Does anyone know how to prevent these unwanted files from being generated?

1 Answer 1

0

I just ran into the same issue. I followed your tip, shutdown VSCode, deleted the directory rm -Rf .sfdx/ and restarted VSCode. I saw the error popup, then clicked to "Turn Off Info and Warning..." which appears to have solved it for me at least?

enter image description here

1
  • did turning off the notifications also prevent the sfdx files from being recreated? Commented Jun 30 at 16:38

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.