IDE + Terminal — VS Code · IntelliJ · Shell Essentials
IDE + Terminal — VS Code · IntelliJ · Shell Essentials
🎯 After reading this lesson
After finishing this lesson, you will be able to confidently do the following 3 things.
- ▸✅ Criteria for choosing VS Code vs IntelliJ
- ▸✅ Git integration shortcuts (Ctrl+Shift+G · Alt+9)
- ▸✅ The 3 shell script safety options (set -euo pipefail)
Keep the learning goals as a checklist and close the lesson once you can answer all of them.
Choosing an IDE and Key Shortcuts
In one line: IDE = moving through code at the speed of thought. Master just 5 shortcuts to double your productivity.
IDE selection criteria:
7 essential shortcuts (VS Code / IntelliJ side by side):
Git Integration Shortcuts — 8 You Use Every Day at Work
VS Code Git Integration
2 Must-Have Extensions
- ▸GitLens — Inline blame display per line (who wrote this code and when). Just hover over the code to see the commit message, author, and date for that line.
- ▸Git Graph — Branch history visualization. A GUI version of
gitk. Unbeatable for understanding complex merge flows.
IntelliJ Git Integration
Most Common Workflow — IntelliJ
Without touching the mouse once, you can complete the entire Git flow. Master the shortcuts and cut VCS task time by 70%.
VS Code Has a Similar Flow
Terminal + Essential Linux Commands
Files and directories:
- ▸
ls -lah— Detailed listing (permissions · size · time) - ▸
find . -name "*.ts" -type f— Recursive search - ▸
du -sh */— Disk usage per folder - ▸
tree -L 2— Tree structure (2 levels deep)
Search and filter:
- ▸
grep -rn "pattern" .— Recursive with line numbers - ▸
ripgrep (rg)— 10x faster than grep - ▸
cat file | head -20/tail -f log— Top/bottom + real-time follow
Processes and resources:
- ▸
ps aux | grep node— Find a process - ▸
top/htop— Real-time monitor - ▸
lsof -i :3000— Process using a port - ▸
kill -9 <PID>— Force kill
Networking:
- ▸
curl -i URL— Response including headers - ▸
ping host— Connectivity check - ▸
nc -zv host port— Check if port is open - ▸
dig domain— DNS lookup
Using pipes:
🤖 Try Asking AI Like This
Knowing the concepts in this lesson lets you give AI specific instructions. Instead of a vague "fix this," you can make requests with vocabulary — and that is where token savings begin.
- ▸"Compile my top 10 IDE shortcuts into a cheat sheet"
- ▸"Recommend 5 VS Code extensions that fit this project"
Why This Reduces Tokens
When you don't know the concepts, you have to ask "what does that mean?" after every AI response. Those follow-up questions eat tokens. Learn the concept once and the conversation ends in one shot.