🛠️Autocomplete
Also known as Code Completion, IntelliSense
The editor guesses the rest of the word. You press Tab to take it.
Think of it like
Think of it like a phone keyboard that guesses the next word. You type a few letters and tap the rest.
Example
Emma types user. and a list pops up with name, email and age. She picks email without checking how it was spelled.
Why it matters
Autocomplete saves typing and stops spelling slips in long names. It also shows you options you did not know about.
Definition
Common mistake
Key takeaways
- 1Guesses as you type. A few letters bring up choices.
- 2Knows your code. It offers names that really exist.
- 3Read before Tab. A close match can still be wrong.