Zero-bloat, modular developer security guard & workflow enhancement suite for VS Code.
⚡ What is DevGuard Flow?
DevGuard Flow Suite is a developer-first VS Code extension that shields credentials, eliminates forgotten debug logs, translates complex regex & cron schedules into plain English, and provides an isolated clipboard ring with Activity Bar integration—all bundled into an ultra-fast 51 KB footprint.
🛡️ Key Features
1. Smart .env & Secret Guard
Demo Mode Masking: Click the $(eye) Demo Mode status bar item to instantly mask all .env secrets on screen (••••••••••••••••) during screen-sharing or pair programming, without modifying the underlying files on disk.
.env vs .env.example Auto-Sync: Saves you from out-of-sync configuration. Offers a 1-click QuickFix to sync missing keys to .env.example without copying secret values.
Multi-Environment Diff View (DevGuard: Compare Environment Files): Compares .env.local vs .env.production side-by-side to highlight missing variables.
Pre-Commit Hook Guard (DevGuard: Install Pre-Commit Secret Guard Hook): Protects your Git repository by blocking commits containing unencrypted .env files or exposed credentials.
2. Context-Aware Console Log Cleaner
Branch-Aware Debug Detection: Diffs your active branch against main (or configured base branch) to pinpoint newly introduced console.log, print(), dbg!, or fmt.Println statements.
Cleanliness Status Bar Indicator: Shows real-time branch cleanliness (e.g. $(trash) 3 debug logs). Click it to open the cleanup menu.
Delete OR Comment-Out: Choose between deleting debug statements or commenting them out (// ...) so they can be re-enabled later during testing.
Custom Logger Signatures: Add support for enterprise loggers like logger.debug, pino.debug, or console.tron via settings.
3. Regex & Cron Translator Lens
Plain-English Cron Translator: Automatically translates 5-part and 6-part cron expressions into human language (e.g., 0 15 10 ? * MON-FRI → "At 10:15 AM, Monday through Friday").
Upcoming Executions Calculator: Hover over any cron schedule to view the next 5 upcoming run times in your local timezone!
Interactive In-Editor Regex Tester: Test regular expressions in real-time right inside VS Code with live match counts and group previews.