🛠️AI Code Completion
Also known as AI Autocomplete, Code Suggestions (AI)
AI that suggests the next lines of code as you type.
Think of it like
Think of it like the word hints on a phone. But these hints are whole lines of code.
Example
Lucy types the first line of a function that checks for a weekend, and a grey hint for the next two lines appears. She presses Tab to accept it.
Why it matters
It saves typing on the dull parts. Then coders can focus on the hard ones.
Definition
Common mistake
Key takeaways
- 1Suggests as you type. In the editor.
- 2Accept or ignore. One key press.
- 3Never runs code. Only suggests.