Claude Autocomplete (Unofficial)
Automatic inline code suggestions in VS Code, powered by your Claude Code login.
Pause while typing and a suggestion appears as grey text. Press Tab to accept it. It works with a Claude Pro or Max plan: no API key and no extra bill.
Community project. Not made by or affiliated with Anthropic.
Requirements
- VS Code 1.90 or newer
- Claude Code, signed in with a Claude Pro or Max account
Installation
1. Install Claude Code and sign in
If Claude Code is already installed in VS Code and you're signed in, skip to step 2.
Choose one:
2. Install Claude Autocomplete
In VS Code, open Extensions (Ctrl+Shift+X), search for Claude Autocomplete, and click Install.
Or run:
code --install-extension jagjitsingh.claude-autocomplete
You can also download the .vsix from the Releases page and use Extensions → ... → Install from VSIX....
3. Start coding
Open any code file and start typing. When you pause, a suggestion appears.
| Key |
Action |
| Tab |
Accept the suggestion |
| Esc |
Dismiss it |
| Alt+\ |
Ask for a suggestion right now |
Claude in the status bar shows the current state. Click it to turn suggestions on or off.
Good to know
- Speed: a suggestion takes about 2–4 seconds to appear. If you keep typing, the pending request is cancelled, so only your latest pause counts.
- Plan limits: each suggestion uses a small part of your Claude plan's usage. If you hit your limit, automatic suggestions pause for 10 minutes. You can raise
claudeAutocomplete.debounceMs so it asks less often, or turn off claudeAutocomplete.autoTrigger and use only Alt+\.
- Privacy: for each suggestion, the lines around your cursor and the file's name are sent to Claude through your Claude Code login. Your project's CLAUDE.md, tools and MCP servers are not used, and no session history is saved.
Settings
| Setting |
Default |
Description |
claudeAutocomplete.enabled |
true |
Turn suggestions on or off. |
claudeAutocomplete.autoTrigger |
true |
Suggest automatically when you pause typing. |
claudeAutocomplete.debounceMs |
200 |
How long to wait after you stop typing. |
claudeAutocomplete.model |
haiku |
haiku (fastest), sonnet or opus (best, slowest). |
claudeAutocomplete.effort |
low |
low, medium or high. Higher is slower. |
claudeAutocomplete.claudeCodePath |
auto |
Path to claude if it isn't found automatically. |
claudeAutocomplete.contextLinesBefore / After |
200 / 60 |
How much of the file Claude sees. |
claudeAutocomplete.disabledLanguages |
plaintext, markdown |
Languages with no suggestions. |
Troubleshooting
- The status bar shows a warning: "Claude Code not found". Install Claude Code (step 1). If it's installed somewhere unusual, set
claudeAutocomplete.claudeCodePath to the full path of claude (or claude.exe on Windows).
- "Claude Code isn't signed in". Run
claude in a terminal and log in.
- No suggestions appear. Make sure the status bar shows Claude and not an "off" icon. Also check that the file's language isn't in
disabledLanguages.
Building from source
git clone <this repo>
cd claude-autocomplete
npm install
npm run package
This creates claude-autocomplete-<version>.vsix. To develop, run npm run watch and press F5 in VS Code.
License
MIT © Jagjit