Overview Version History Q & A Rating & Review
The 10x Pretender is a VS Code extension that makes you look like a coding genius by simulating realistic typing from your clipboard or AI-generated code. Perfect for live coding demos, presentations, or impressing colleagues with your "incredible" typing speed.
Note
To use the 10x Pretender extension:
Obtain a Google Generative AI API key from Google AI Studio .
Set the API key in the extension settings to enable Gemini code generation.
Toggle the typing mode using the status bar icon or keyboard shortcut.
Features
Realistic Typing Simulation: Automatically types text from your clipboard at a natural pace.
AI-Powered Code Generation: Integrates with Google's Gemini API to generate code snippets based on your plain English descriptions.
Status Bar Controls: Easily toggle, pause, stop, and restart typing with visible status bar icons.
Pause/Resume Functionality: Pause typing at any point and resume when you're ready.
Seamless Cursor Tracking: Automatically pauses typing when you move the cursor to a different position, and resumes when you return.
Custom Text Entry: Manually input text to be typed out if you don't want to use clipboard content.
Visual Status Indicators: Clear visual feedback showing the current state (typing, paused, generating).
Requirements
A stable internet connection is required to use the Gemini code generation feature.
You must have a Google Generative AI API key to use the AI code generation feature. You can get one at Google AI Studio .
How to Use
Using Clipboard Content:
Copy any code or text to your clipboard
Click the "10x Pretender: Off" button in the status bar to toggle it on
Watch as the extension types out your clipboard content
Using AI-Generated Code:
Run the "Generate Code with Gemini" command from the command palette
Enter a description of the code you want to create
Choose whether to start typing the generated code immediately
Using Custom Text:
Run the "Set Custom Text" command from the command palette
Enter the text you want to type out
Choose whether to start typing immediately
Extension Settings
abd-dev.geminiApiKey
: API key for Google Generative AI.
abd-dev.geminiModel
: Model to use for code generation (default: gemini-2.0-flash-001).
Commands
To access the commands, press Ctrl+Shift+P
(Windows/Linux) or Cmd+Shift+P
(Mac) to open the command palette and type the following commands:
10x Pretender: Toggle Typing Mode: 10x-pretender.toggle
10x Pretender: Set Text to Type: 10x-pretender.setClipboard
10x Pretender: Generate Code with Gemini: 10x-pretender.geminiPrompt
10x Pretender: Pause/Resume Typing: 10x-pretender.pause
(Keyboard shortcut: Ctrl+Alt+P
on Windows/Linux, Cmd+Alt+P
on Mac)
Use Cases
Live Coding Demonstrations: Prepare your code beforehand and have it typed out as if you're coding in real-time.
Presentations: Showcase code examples without typing mistakes or delays.
Teaching: Focus on explaining concepts while code appears seamlessly.
Brainstorming Sessions: Generate code solutions quickly using the Gemini AI integration.
Contributing
If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on GitHub .
Repository
The source code for this extension is available on GitHub .