DELAPARRA
Index
Color
NL
Category: Keyboard shortcuts

Autocomplete

Explained by Updated

What is Autocomplete?

Autocomplete: Complete a file name, command, or path. Press twice to list all matches. In a terminal, pressing Tab completes a file name, folder or command you have started typing. If there are several matches, pressing Tab twice lists them. Code editors offer the same idea for variables, functions and imports.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Autocomplete

How is Autocomplete used in practice?

It saves typing, but the bigger benefit is fewer mistakes. A path completed by the shell exists. A path you typed from memory may contain a typo you only discover when the command fails.

What should you keep in mind with Autocomplete?

Most shells can complete more than file names. With the right setup, git che<Tab> completes to checkout, and kubectl get po<Tab> completes pod names from your cluster. Installing completion for the tools you use daily, such as Git, Docker and kubectl, is a small investment that pays back every day.

At a glance

CategoryKeyboard shortcuts
Explained by
Updated

More Keyboard shortcuts terms

All terms starting with A

Skills

Manuals

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.