Skip to content
项目

jevakallio/vscode-hacker-typer

在 GitHub 查看

关于

非常适合用于现场编程演示、给朋友留下深刻印象,或者只是在工作时装作很忙。

其他项目

这些数字如何统计

可以做什么

  • Record and replay macros.
  • Insert stop points, so you don't accidentally overrun your talking point while live coding.

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

VSCode Hacker Typer

Great for live coding presentations, impressing your friends, or just trying to look busy at work.

Promotional video

Hacker Typer allows you to record yourself programming, and to replay the same keystrokes by wildly mashing any key. Supports typing, editing, selections (including multicursor) and autocompletions. Basically, it looks like you have programming superpowers.

😳 See it live in action: Writing Code Like a Real Hacker - Reactivate X, London

⬇️ Download the extension from Visual Studio Code Marketplace

🗯 "This is Unix, I know this! Asdfkdhsur dueuekdnfh sueekgkvins dicodksbry" — @mwarger

Features

  • Record and replay macros.
  • Insert stop points, so you don't accidentally overrun your talking point while live coding.

How to use Hacker Typer

Record a macro

  1. Open a file or a new VSCode window.
  2. Execute HackerTyper: Record Macro command from the command palette.
  3. The current content and selections of the active editor will be snapshotted.
  4. Start typing code. Every keystore is recorded into an in-memory buffer, including deletions, selection changes, etc.
  5. When you're ready, execute HackerTyper: Save Macro command from the command palette.
  6. Give your macro a name.
  7. You're done!

Replay a macro

  1. Open a file or a new VSCode window.
  2. Execute HackerTyper: Play Macro command from the command palette.
  3. Pick your previously saved macro.
  4. The active workspace will be reset to the initial starting point from the beginning of the recording. If there is no active text editor, a new anonymous unsaved file will be opened.
  5. Start hammering your keyboard like a mad-person.
  6. WHOA HOW ARE YOU TYPING SO FAST
  7. Cmd+Shift+Backspace will move the buffer backwards. Any other key moves it forward.
  8. Feel free to move around the file, highlight code etc. When you continue typing, the next character will be inserted where you did while recording.

Stop points

While in recording mode, execute HackerTyper: Insert Soft Stop Point command from the command palette.

When you hit a stop point while in replay mode, you need to press ENTER to break out of the stop point. All other keystrokes are ignored until you break out.

Current limitations

  • Only supports single file macros #11
  • If you make a mistake while recording, you have to start over. User experience could be wildly improved here
  • When starting from existing active editor, the document language is not restored from the macro (see vscode#1800)

License

MIT

探索相关项目

加载中…