---
schema_version: "1"
id: fda72df98c9d979f3d4d76943e24937d6fd5f1c346d67f06774973bf67e04938
title: Delete Source
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforcedx/sfvscode/guides/deploy-retrieve/delete-source.md
canonical_url: https://developer.salesforce.com/docs/platform/sfvscode-extensions/guide/delete-source.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c7968ab6222052e539937a8b80312c16fd690e946aa57963065925f977e57dc9
products:
  - Salesforce Extensions for Visual Studio Code
  - salesforcedx
---
# Delete Source

You can delete source from your project and from your org.

- In the VS Code explorer, right-click a source file or a directory and select **SFDX: Delete from Project and Org**.
- With a source file open in the editor, right-click the file and select **SFDX: Delete This from Project and Org**.
- With a source file open in the editor, open the Command Palette and run **SFDX: Delete This from Project and Org**.

