deadrift — VS Code Extension
Find dead code inline in VS Code, powered by deadrift.
Features
- Inline diagnostics — dead code shown as warnings in the Problems panel
- Sidebar panel — ranked list of all dead symbols in the Activity Bar
- One-click navigation — click any symbol to jump to its definition
- Interactive prune — open a terminal with
deadrift prune pre-filled
- Suppress — right-click any line to add
# deadrift: keep
- Clean AI comments — remove garbage emoji comments from your codebase
Requirements
pip install deadrift
Commands
| Command |
Description |
deadrift: Scan Workspace |
Scan entire workspace |
deadrift: Scan Current File |
Scan open file only |
deadrift: Interactive Prune |
Open terminal for d/c/k/s prune |
deadrift: Clean AI Comments |
Remove garbage comments |
deadrift: Suppress This Symbol |
Add # deadrift: keep |
deadrift: Clear All Diagnostics |
Clear warnings |
Settings
| Setting |
Default |
Description |
deadrift.threshold |
30 |
Min confidence score to show |
deadrift.autoScanOnSave |
false |
Scan on every file save |
deadrift.pythonPath |
"" |
Path to Python (auto-detected) |
deadrift.githubRepo |
"" |
owner/repo for ticket checking |
deadrift.githubToken |
"" |
GitHub PAT |
| |