WalchandPRO - xascsadncsc
This beginner-level Python course introduces learners to the fundamentals of programming through an interactive and structured approach. The course focuses on building a strong conceptual foundation u
·
2 min read
tdeo
Code typing playback for VS Code. Create engaging coding tutorials and demos by automatically re-typing your code with customizable pacing.
How It Works
- Write your final code
- Add
:tdeocomments to control timing - Run the extension
- Record your screen with any tool (OBS, Loom, etc.)
The extension types your code character-by-character while you record, giving you authentic typing videos in your actual VS Code environment.
Installation
From VSIX (Local)
# Build the extensionnpm installnpm run compile# Package itnpx vsce package# Install in VS Codecode --install-extension tdeo-0.1.0.vsix
Quick Start
- Open any code file
- Add timing commands as comments (see below)
- Press
Cmd+Shift+T(Mac) orCtrl+Shift+T(Windows/Linux) - Start your screen recorder
- Confirm to begin playback
Commands
| CommandDescription | |
:tdeo speed <n> | Set typing speed (0.5 = slower, 2 = faster) |
:tdeo pause <duration> | Pause for duration (e.g., 2s, 500ms) |
:tdeo wait | Wait for keypress to continue |
:tdeo instant | Type next line instantly |
:tdeo instant-start | Start instant block |
:tdeo instant-end | End instant block |
:tdeo skip | Insert next line without typing animation |
:tdeo hide | Omit next line from output entirely |
Example
// :tdeo speed 2import express from 'express';import cors from 'cors';// :tdeo speed 1// :tdeo pause 1s// :tdeo speed 0.5// This important part types slowlyconst app = express();// :tdeo instant-startapp.use(cors());app.use(express.json());// :tdeo instant-end// :tdeo pause 2sapp.listen(3000);
What Happens
- Imports type quickly (2x speed)
- 1 second pause
- App creation types slowly (0.5x speed)
- Middleware appears instantly
- 2 second pause before final line
Supported Languages
Commands work in any language with comment support:
| LanguageSyntax | |
| JavaScript, TypeScript, Go, Rust, etc. | // :tdeo ... |
| Python, Ruby, Shell | # :tdeo ... |
| HTML, XML | <!-- :tdeo ... --> |
| CSS | /* :tdeo ... */ |
| SQL, Lua | -- :tdeo ... |
Keyboard Shortcuts
| ShortcutAction | |
Cmd/Ctrl+Shift+T | Start / Pause / Resume |
Escape | Stop playback |
Settings
Configure in VS Code settings (Cmd+,):
| SettingDefaultDescription | ||
tdeo.baseSpeed | 1.0 | Base typing speed multiplier |
tdeo.charDelay | 50 | Milliseconds between characters |
tdeo.lineDelay | 100 | Extra delay after newlines |
tdeo.createBackup | true | Create backup before playback |
Tips
- Fast imports: Use
speed 2orinstant-start/endfor boilerplate - Emphasize key code: Use
speed 0.5andpausebefore important sections - Let viewers read: Add
pause 2safter complex code blocks - Hide setup code: Use
hidefor code you don't want in the final output
Demo Files
Check the examples/ folder for sample scripts:
demo.js- JavaScript/Express exampledemo.py- Python/ML example
License
MIT
No comments yet. Login to start a new discussion Start a new discussion