Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Natural TypingNew to Visual Studio Code? Get it now.
Natural Typing

Natural Typing

ABRAHAM BOSIRE

| (0) | Free
Generates code with Claude and types it into the editor with a natural, human-like cadence.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Natural Typing

A VS Code extension that asks Claude to write code for your cursor position, then types it into the editor one character at a time with randomized keystroke timing, longer pauses after punctuation and newlines, and occasional "thinking" pauses. It can also replay text from your clipboard without calling the API.

Setup

npm install
npm run compile

To try it, open this folder in VS Code and press F5. A new Extension Development Host window opens with the extension loaded.

You need an Anthropic API key. The first time you generate, the extension asks for it and stores it in VS Code's secret storage. It is not written to settings or to any file. To change it later, run "Natural Typing: Set Anthropic API Key" from the command palette.

Usage

Generate with Claude

  1. Click where you want the code to go.
  2. Press Ctrl+Alt+G (Cmd+Alt+G on macOS), or run "Natural Typing: Generate with Claude and Type at Cursor".
  3. Describe what you want, for example "a debounce helper in TypeScript".
  4. Wait for Claude to respond. The extension sends about 80 lines before and 40 lines after your cursor as context, so the result matches the file.
  5. The code is typed at your cursor.

Type clipboard

Copy any text, click where it should go, then press Ctrl+Alt+V (Cmd+Alt+V on macOS). No API call is made.

Stopping

Press Esc or click "Stop typing" in the status bar. Stopping leaves whatever has been typed so far in the file.

If you have text selected when typing starts, the selection is replaced.

Settings

Setting Default Meaning
naturalTyping.model claude-sonnet-5-5 Claude model used for generation. claude-haiku-5-5 is faster and cheaper.
naturalTyping.maxOutputTokens 1024 Upper limit on the length of one generation
naturalTyping.minDelayMs 40 Fastest gap between keystrokes
naturalTyping.maxDelayMs 140 Slowest gap between keystrokes
naturalTyping.newlineMultiplier 3 Extra pause before each newline
naturalTyping.thinkingPauseChance 0.03 Chance of a thinking pause after any keystroke
naturalTyping.thinkingPauseMs 800 Length of a thinking pause

Typing is slow by design. At the defaults, roughly 100 characters take 10 seconds. For long output, lower the delay settings or raise maxOutputTokens with care, since typing time grows with length.

Notes

  • Text is inserted through the editor's edit API, so auto-closing brackets, auto-indent, and autocomplete do not interfere. The indentation Claude returns is what gets typed.
  • Carriage returns are skipped, so Windows line endings don't produce blank lines.
  • If a generation is cut off by maxOutputTokens, the partial code is still typed. Raise the limit if you see incomplete output.
  • The code sent to Claude includes text from your file near the cursor. Don't use this on files you aren't allowed to send to an external API.

Packaging

To make a .vsix file you can install or share:

npx @vscode/vsce package
code --install-extension natural-typing-0.2.0.vsix
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft