A lightweight VS Code extension for practicing unfamiliar codebases and languages by typing modules step-by-step instead of copy-pasting boilerplate.
Why I built this
Reading docs or letting an AI write every line makes it easy to nod along without building any muscle memory. Spotter breaks a file into small, ordered chunks with a short mental model beside each step, optional ghost-text hints, and a compiler check when you write the file to disk.
Features
Step-by-step typing buffer with sticky line numbers and live character-level mismatch feedback.
Toggleable ghost text (Alt+G) so you can either trace a pattern or test yourself from memory.
Language-aware indentation (auto-detects \t tabs for .go files vs spaces).
Compile checks on commit:
.py files run python3 -m py_compile.
.go files run go vet ./... and go build ./... from the nearest go.mod.
Per-workspace lessons via .spotter/lessons.json, with a built-in fallback starter lesson.
Persisted progress across editor reloads per file.
Shortcuts
Alt+G — Toggle ghost text
Ctrl+Enter — Advance to next step once current chunk matches