Skip to main content
New Member
June 27, 2025
Question

In Figma Make, how do you delete extra or empty files from the code tree?

  • June 27, 2025
  • 12 replies
  • 684 views

In Figma Make, how do you delete extra or empty files from the code tree?

I can’t delete them or prompt the AI to delete them successfully. I’d like to make sure they do not confuse future prompts.

12 replies

JohnDavid
New Member
July 1, 2026

I’m curious too.

adamsmasher
Figmate
Figmate
July 2, 2026

Hey all! Thank you everyone for posting and checking back in on this - I can understand why you’d want to remove unused files to keep your app structure clean.

 

You can delete a file by switching to code view, then right-clicking a file and choosing the delete option. Note that this option will be disabled if the file is referenced by other files in the project. This helps prevent breaking the app. You can also ask Make itself to delete a file if you’d prefer that. Once deleting the file, you’ll need to save the change using the Save button in the chat panel to the left.