Achievements for VS Code
Unlock achievements while you code. Each achievement pops up on your desktop, in the bottom-right corner of the screen, like a console trophy: animated, with sound, and without getting in your way inside VS Code.
What it looks like
- Desktop trophy: a dark capsule with the trophy in its tier color (Bronze, Silver, Gold, Platinum), the achievement name and its points. It slides in, stays for a few seconds and fades out. It never steals focus; one click closes it. (Windows only.)
- Custom unlock sound, with adjustable volume.
- Status bar: a subtle counter
🏆 12/71.
- Showcase (trophy icon in the sidebar): summary, a button to open the full catalog in a tab, your latest unlocks and the trophy settings (size, sound, volume and duration, with a live preview).
- Language: English by default, with Spanish available. Switch it from Trophy settings at the bottom of the sidebar, or with the
logros.language setting.
- Catalog: every achievement by category, with filters (unlocked, locked, hidden) and search. Hidden achievements can be revealed if you want. The higher the tier, the more epic it looks.
Achievements
There are 71 achievements in 7 categories: first steps, code (functions, classes, lines, languages), learning languages (your first console.log("Hello world"), the HTML5 skeleton, your first CSS with flex/grid, try/catch, async/await, SQL, Dockerfile, README...; each one comes with a short lesson about what you learned), debugging (errors fixed, debug sessions, terminal), time (active hours, streaks, night owl, early bird), projects (reopening projects, commits, splitting the editor) and meta.
Settings
| Setting |
Default |
Description |
logros.language |
en |
Language: en (English) or es (Spanish) |
logros.sound |
true |
Play a sound on unlock |
logros.volume |
50 |
Sound volume (0–100) |
logros.notificationDuration |
6 |
Seconds the trophy stays visible (3–15) |
logros.overlayScale |
1 |
Trophy size (0.7–1.4) |
logros.statusBar |
true |
Show the counter in the status bar |
Commands
Achievements: Show my achievements
Achievements: View all achievements
Achievements: Test notification
Achievements: Reset progress
Development
npm install
npm run compile # compiles to out/
npm run sound # regenerates the sounds in media/ (optional)
npm run icons # regenerates src/icons.ts after adding an icon
Press F5 to open a test window with the extension loaded.
To package: npm run package builds a .vsix, which you can install with Extensions → … → Install from VSIX.
Adding a language
- Add its code to
LANGUAGES in src/i18n.ts and to the logros.language enum in package.json.
- Add its UI strings to
STRINGS in src/i18n.ts (same keys as English).
- Create
src/locales/<code>.ts with the achievement and category texts (see src/locales/es.ts) and register it in src/i18n.ts.
Adding achievements
- Counter achievements (saves, hours, commits...): one
def(...) line in src/achievements.ts.
- Learning achievements (they detect something in your code when you save):
- Add a milestone with its
id and test in src/milestones.ts.
- Add the achievement with
lesson('<id>', name, description, icon, tier, [lesson...]) in src/achievements.ts. Text in backticks inside the lesson is shown as code. Add its translation to src/locales/es.ts.
- If you use a new Lucide icon, add it to
scripts/build-icons.js and run npm run icons.
Credits
Icons by Lucide (ISC license). Original synthesized sounds.
License
Apache 2.0.
| |