Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Ghost TyperNew to Visual Studio Code? Get it now.
Ghost Typer

Ghost Typer

Parivartya Corporation

|
2 installs
| (0) | Free
Retypes deleted code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Ghost Typer 👻

Ghost Typer brings your deleted code back to life with a cinematic touch. Instead of a standard "Undo," this extension re-inserts your last deleted block of code character-by-character, mimicking the flow of a human programmer.

Perfect for coding demonstrations, tutorials, or simply enjoying the satisfying flow of code reappearing before your eyes.

alt text


✨ Features

  • Intelligent Deletion Tracking: Automatically remembers the last block of code you deleted (via Backspace, Delete, or Cut).
  • Human-Like Typing: Restores code line-by-line, character-by-character.
  • Customizable Speed: Adjust the typing speed to match your preference (from lightning-fast to methodical).
  • Clean Undo History: Even though it types character-by-character, it treats the entire restoration as a single action in your undo history.
  • Selection Aware: Specifically designed to capture large blocks of selected code that were removed.

🚀 How to Use

  1. Select a block of code (e.g., 10 lines or 100 lines).
  2. Delete it (using Backspace, Delete, or Ctrl+X).
  3. Trigger the Ghost: Press Alt + Z (Windows/Linux) or Option + Z (Mac).
  4. Watch as your code is "re-typed" into the editor automatically.

⚙️ Configuration

You can fine-tune the "typing" experience in your VS Code settings:

Setting Default Description
ghostType.typingSpeed 50 The delay (in milliseconds) between each character. Lower is faster.

To change the speed:

  1. Open Settings (Ctrl + ,).
  2. Search for Ghost Typer.
  3. Change the Typing Speed value.

⌨️ Keyboard Shortcuts

Command Keybinding
Restore Last Deletion Alt + Z

Note: You can rebind this shortcut by searching for ghost-type.restore in the Keyboard Shortcuts editor.

🛠 Installation

  1. Open Visual Studio Code.
  2. Go to the Extensions view (Ctrl+Shift+X).
  3. Search for Ghost Typer.
  4. Click Install.

📝 Requirements

  • Visual Studio Code v1.75.0 or higher.

📄 License

This extension is licensed under the MIT License.


🙌 Contributing & Support

  • Found a bug or have a feature request? Please open an issue on our GitHub Repository. Enjoying Marker Pen? Consider leaving a ⭐ on the Marketplace!

Connect with me

=====================

  • LinkedIn: Rakesh Chauhan - Professional updates
  • Instagram: mr.rkchauhan - Follow and Contact us.
  • YouTube: Parivartya Programming - Video tutorials
  • Website: Parivartya Corporation - Also visit the site

Happy Coding

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft