
I Switched From VS Code to the Terminal for a Month. I'm Not Going Back (For These 5 Tasks).
I didn't quit VS Code. But I stopped using it for everything. After a month of forcing myself to use terminal tools, I found 5 specific tasks where the terminal is objectively faster. Not "cooler." Faster. Task 1: Searching Code VS Code: Ctrl+Shift+F → type query → wait for results → click through files → lose my place → search again. Terminal (ripgrep): # Find all API endpoints that don't have auth middleware $ rg "app \. (get|post|put|delete)" --glob "*.ts" -l | \ xargs rg -L "authMiddleware" # Find all TODO comments with the author $ rg "TODO|FIXME|HACK" --glob "*.{ts,tsx}" -n --heading # Find where a function is defined vs where it's used $ rg "function calculateTax" -l # defined in $ rg "calculateTax \( " -l # used in # Find files changed in the last commit that contain a pattern $ git diff --name-only HEAD~1 | xargs rg "console \. log" ripgrep is 5-10x faster than VS Code search on large codebases. It respects .gitignore by default. And the output is instantly pipeable to other c
Continue reading on Dev.to
Opens in a new tab




