Skip to lesson
Exit
Tab Autocomplete Basics1 / 2

2 min lesson

Accept what continues your rename; reject the CSS-class drift

Say what this means in practice: "Accept the Tab ghost that matches your rename and reject the CSS-class drift."

Step 1 of 2

The job: you can accept, reject or ignore Tab without breaking coding flow. Start with this check: Accepted code still reads like code you would have written. Keep it small enough to check the result yourself instead of taking the summary on trust.

Accept what matches, drop what drifts

0:31 · narrated
Read this demo as text
  1. Okay, watch Tab. It predicts the rename you already started. Hit Tab for the next two hits. It chains the edit points so a mechanical rename never pulls your hands off the keys.
  2. Next ghost wants the CSS class too. That drifts past your intent. Reject it. Then check Source Control: two changes, both inside the rename you started. Accept what matches. Drop what drifts.
Accept what continues your rename; reject the CSS-class drift.

Practice next: Now run the walkthrough: accept the Tab ghost that matches your rename and reject the CSS-class drift.

Simulated Cursor 3.12 (macOS, light) — beta educational reconstruction, not the real product.