Lightweight Fill-in-the-Middle (FIM) inline autocomplete for code and comments across all file types in VS Code. No mode switching, no chat sidebars, and no cloud telemetry.
Quick Setup
Click ✦ AutoTab in the bottom-right status bar and choose Configure Server... (or click the Gear icon → Settings on this extension page).
Choose your local or remote backend, for example:
LM Studio: Endpoint http://127.0.0.1:1234/v1, Model granite-4.0-h-micro (or qwen2.5-coder), API Key 1234.
Ollama: Endpoint http://127.0.0.1:11434/v1, Model qwen2.5-coder:7b.
Click Save & Test Connection and start typing in any .R, .py, .jl, .tex, .md, or other file.
Installation
Download the latest autotab-*.vsix release from GitHub (or build locally with npm install && npm run compile && npx vsce package).
Open VS Code and open the Extensions view (Ctrl+Shift+X).
Click the ... menu at the top-right of the Extensions panel and select Install from VSIX... (or run code --install-extension autotab-0.2.0.vsix).
Reload VS Code when prompted.
I do not expect anyone else to ever use this, as I only made it for myself. But if you come across this, I'm not affiliated with LM Studio or Ollama; it's just my lightweight extension that works across all languages and file types (including Markdown), completely offline.
Features
Minimal configuration: Configure your endpoint, model, and optional API key directly from the built-in setup panel.
Fast local inference: Leverages KV cache reuse (cache_prompt) and instant keystroke cancellation so typing never queues stale requests.
No mode switching: Completes both code and comments naturally from surrounding prefix/suffix context.
Universal file support: Works across all file types (.R, .py, .jl, .tex, .md, and unsaved scratch buffers) without per-language toggles.
Flexible backends: Supports local servers (LM Studio, llama.cppllama-server, Ollama) as well as remote OpenAI-compatible /v1/completions endpoints (vLLM, TabbyAPI, etc.) with an optional API key.
Zero telemetry: Your code stays on your machine or self-hosted server.
Final Note
I honestly only built this for myself because I didn't want the built-in Copilot features in VS Code, and CoTab kept breaking on my end. If you have any requests or run into issues, feel free to open an issue on GitHub.