Press Tab to Autocomplete File Paths and Slash Commands in the Input
Typing full file paths is tedious and error-prone. Claude Code's Tab completion works just like your shell — start typing and press Tab to fill in the rest.
# Type a partial path and press Tab
src/con[Tab]
# Completes to: src/controllers/
# Keep going deeper
src/controllers/User[Tab]
# Completes to: src/controllers/UserController.php
This works for slash commands too:
/com[Tab]
# Completes to: /compact
/mod[Tab]
# Completes to: /model
/mem[Tab]
# Completes to: /memory
Tab completion is especially useful when:
# Referencing files in prompts
"Read src/ser[Tab] and explain the payment flow"
# → "Read src/services/PaymentService.php and explain the payment flow"
# Pointing Claude at specific files
"Fix the bug in tests/Fea[Tab]Auth[Tab]"
# → "Fix the bug in tests/Feature/AuthenticationTest.php"
# Running custom commands
/fix[Tab]
# → /fix-tests (your custom command)
If there are multiple matches, pressing Tab twice shows all options — just like in your terminal:
src/controllers/[Tab][Tab]
# Shows: UserController.php OrderController.php ProductController.php
No more typos in file paths, no more looking up which slash commands are available, no more switching to a file browser to find the exact path. Tab does the work.
Tab completion isn't just for your shell — Claude Code has it too, and it makes referencing files and commands as fast as thinking of them.
via Claude Code
Log in to leave a comment.
When typing feels slow — describing a complex bug, explaining architecture, or thinking through a problem out loud — press Option+V to switch to voice input. Speak naturally and Claude Code transcribes your words into a prompt, so you can describe what you need at the speed of thought.
When Claude is heading down the wrong path — editing the wrong file, writing code you don't want, or giving a long explanation you don't need — press Escape to stop it immediately. You keep everything it did up to that point and can redirect with a new prompt.
Closed a session and realized you weren't done? Pass --continue (or -c) when launching Claude Code to pick up exactly where you left off — same context, same files, same conversation history — without re-explaining what you were working on.