Get Unused Imports Logo

Get Unused
Imports

A VS Code extension to detect unused imports, variables, and parameters in your codebase. Built with Go (WASM) for high performance.

Features

Everything You Need to Keep Your Code Clean

Multi-language Support

TypeScript, JavaScript, Python, Go, Ruby, PHP

Auto Analyzer

Automatically analyzes files on save and when TreeView is opened

Tree View

Results displayed in Explorer sidebar

High Performance

Go backend compiled to WebAssembly with intelligent caching

Quick Navigation

Click to jump to unused code

Customizable

Configure file extensions, exclude folders, and auto-analyze delay

Supported Languages
LanguageExtensionsBackend
TypeScript.ts, .tsxNative (ts-morph)
JavaScript.js, .jsx, .vue, .svelteNative (ts-morph)
Python.pyWASM (go-python)
Go.goWASM (go/parser)
Ruby.rbWASM (regex-based)
PHP.phpWASM (regex-based)
Installation

1. Open VS Code

2. Go to Extensions (Cmd+Shift+P → "Extensions: Open")

3. Search for "Get Unused Imports"

4. Click Install

Settings
SettingDefaultDescription
get-unused-imports.autoAnalyzertrueAutomatically analyze on save
get-unused-imports.autoAnalyzeDelay500Delay in ms before auto-analyzing
get-unused-imports.fileExtensions["ts", "tsx", ...]File extensions to scan
get-unused-imports.excludeFolders["node_modules", ...]Folders to exclude

Enjoying Get Unused Imports? Leave a rating on the Marketplace!