Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Find Dead CodeNew to Visual Studio Code? Get it now.
Find Dead Code

Find Dead Code

Abhishek CRUD Tools

|
2 installs
| (0) | Free
Find unused imports, commented code, console statements, and dead code in your JavaScript/TypeScript projects
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Find Dead Code - VS Code Extension

Find unused imports, commented code, console statements, and dead code in your JavaScript/TypeScript projects.

Features

🔍 Find Dead Code in Your Project:

  • 📦 Unused Imports - Detect imported modules that are never used
  • 💬 Commented Code - Find commented imports, routes, and functions
  • 🖨️ Console Statements - Locate all console.log, console.error, etc.
  • 🔧 Unused Variables - Detect declared but never used variables
  • 🔌 Commented Routes - Find disabled API routes (Express.js)
  • ⚠️ TODO/FIXME - Track pending tasks

Installation

  1. Open VS Code
  2. Press Ctrl+Shift+X to open Extensions
  3. Search for "Find Dead Code"
  4. Click Install

Usage

  1. Open your JavaScript/TypeScript project
  2. Press Ctrl+Shift+P to open Command Palette
  3. Type Find Dead Code: Scan Workspace
  4. View results in the Output panel

Output Example

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft