Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ghost-filesNew to Visual Studio Code? Get it now.
ghost-files

ghost-files

Nirbhay

|
2 installs
| (1) | Free
Detect and clean up unused or orphaned files in your project with ease.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

👻 Ghost Files – Find and Clean Up Unused Files in Your Project

Ghost Files is a VS Code extension that uses AI (locally via Ollama) to scan your codebase and identify unused, orphaned, or unnecessary files — helping you keep your project clean and maintainable.


✨ Features

  • 🧠 AI-powered scanning using LLaMA 3 via Ollama (runs locally)
  • 🗂️ Scans your entire workspace for .js, .ts, .jsx, .tsx, .astro, and more
  • ❌ Displays unused files in a custom sidebar view
  • ✅ Shows clearly used files for easy comparison
  • 🖱️ Click to preview any file directly in VS Code

🚀 Getting Started

1. Install Ollama and start the model

Ghost Files uses a local LLM with Ollama.

Command: ollama run llama3

2. Scan your project

  1. Open the Command Palette:

    • Windows/Linux: Press Ctrl+Shift+P
    • macOS: Press Cmd+Shift+P
  2. Search for the Command:

    • Type ghost-files.smartScan into the Command Palette.
  3. Execute the Command:

    • Once the ghost-files.smartScan command appears in the list, click it to begin the scan.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft