Human Writer
A VS Code extension that simulates human-like typing when copying folder structures to a target location.
Features
- Human-like Typing: Writes code character-by-character with realistic typing speeds and random delays
- Recursive Folder Copy: Automatically scans and recreates entire folder structures
- All File Types: Supports any file type (.js, .html, .css, .py, .c, .java, etc.)
- Sequential Processing: Writes files one at a time to avoid conflicts
- Visual Feedback: Shows progress as files are being written
Usage
- Press
Ctrl+Shift+P (or Cmd+Shift+P on Mac) to open the command palette
- Type "Human Write Folder To..." and select the command
- Select the SOURCE folder containing the code files you want to copy
- Select the TARGET folder where you want the files to be written
- Watch as the extension recreates the folder structure and types out each file character-by-character!
How It Works
- The extension scans the source folder recursively
- Creates the same folder structure in the target location
- Opens each file in VS Code
- Types the content character-by-character with:
- Variable typing speeds (50-200ms per character)
- Longer delays for special characters
- Occasional pauses to simulate thinking/reading
- Faster typing for common characters
Requirements
- VS Code version 1.74.0 or higher
Installation
Quick Start (For Testing)
Install dependencies:
npm install
Compile the extension:
npm run compile
Run in VS Code:
- Open this folder in VS Code
- Press
F5 to launch Extension Development Host
- In the new window, use
Ctrl+Shift+P → "Human Write Folder To..."
Full Installation Guide
For detailed setup instructions, see SETUP.md - Complete step-by-step guide with troubleshooting.
Development
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch for changes (auto-recompile)
npm run watch
Project Structure
src/extension.ts - Main extension code
package.json - Extension manifest and dependencies
tsconfig.json - TypeScript configuration
out/ - Compiled JavaScript (generated after compilation)
Building and Testing
- Make changes to
src/extension.ts
- Compile:
npm run compile
- Test: Press
F5 in VS Code to launch Extension Development Host
- Debug: Set breakpoints in TypeScript files (VS Code will map them automatically)
Packaging for Distribution
# Install vsce globally
npm install -g @vscode/vsce
# Package the extension
vsce package
# Install the .vsix file in VS Code
# Extensions → ... → Install from VSIX...
License
MIT
| |